chore(CI): Upgrade rustc

Was running into problems with clippy and typos-codegen
This commit is contained in:
Ed Page 2019-10-05 22:21:38 -04:00
parent 23faf30f24
commit 7a637c7609
2 changed files with 6 additions and 6 deletions

View file

@ -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:

View file

@ -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 {
@ -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,