Skip to content

Commit

Permalink
chore(CI): Upgrade rustc
Browse files Browse the repository at this point in the history
Was running into problems with clippy and typos-codegen
  • Loading branch information
epage committed Oct 6, 2019
1 parent 23faf30 commit 7a637c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@ rust:
matrix:
include:
- env: RUSTFMT
rust: 1.35.0 # `stable`: Locking down for consistent behavior
rust: 1.38.0 # `stable`: Locking down for consistent behavior
install:
- rustup component add rustfmt
script:
- cargo fmt --all -- --check
- env: CodeGen
rust: 1.35.0 # `stable`: Locking down for consistent behavior
rust: 1.38.0 # `stable`: Locking down for consistent behavior
install:
- rustup component add rustfmt
script:
- cargo run --package typos-codegen -- --input typos-dict/assets/words.csv --output typos-dict/src/dict_codegen.rs --check
- env: RUSTFLAGS="-D warnings"
rust: 1.35.0 # `stable`: Locking down for consistent behavior
rust: 1.38.0 # `stable`: Locking down for consistent behavior
install:
script:
- cargo check --tests --all
- env: CLIPPY
rust: 1.35.0 # `stable`: Locking down for consistent behavior
rust: 1.38.0 # `stable`: Locking down for consistent behavior
install:
- rustup component add clippy
script:
Expand Down
4 changes: 2 additions & 2 deletions typos/src/checks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl CheckSettings {

pub fn build<'d, 'p>(
&self,
dictionary: &'d Dictionary,
dictionary: &'d dyn Dictionary,
parser: &'p tokens::Parser,
) -> Checks<'d, 'p> {
Checks {
Expand All @@ -61,7 +61,7 @@ impl Default for CheckSettings {

#[derive(Clone)]
pub struct Checks<'d, 'p> {
dictionary: &'d Dictionary,
dictionary: &'d dyn Dictionary,
parser: &'p tokens::Parser,
check_filenames: bool,
check_files: bool,
Expand Down

0 comments on commit 7a637c7

Please sign in to comment.