Merge pull request #1081 from ahlinc/feat/fail-ci-on-compiler-warnings
feat: Fail CI on compiler warnings
This commit is contained in:
commit
fe5a29a1c6
2 changed files with 1 additions and 3 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -64,7 +64,7 @@ jobs:
|
|||
run: script/build-wasm
|
||||
|
||||
- name: Build CLI
|
||||
run: cargo build --release
|
||||
run: RUSTFLAGS="-D warnings" cargo build --release
|
||||
|
||||
- name: Set up fixture parsers
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -75,7 +75,6 @@ pub(crate) struct TokenSetDisplay<'a>(
|
|||
pub &'a LexicalGrammar,
|
||||
);
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub(crate) struct ParseItemSetDisplay<'a>(
|
||||
pub &'a ParseItemSet<'a>,
|
||||
pub &'a SyntaxGrammar,
|
||||
|
|
@ -181,7 +180,6 @@ impl<'a> Default for ParseItemSet<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
impl<'a> fmt::Display for ParseItemDisplay<'a> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
|
||||
if self.0.is_augmented() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue