Skip to content

Commit

Permalink
Update to a nightly that has clippy and rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
martell committed Apr 25, 2020
1 parent 5bf0b2a commit 3f67533
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ matrix:
allow_failures:
- rust: nightly
include:
- rust: nightly-2020-04-01
- rust: nightly-2020-04-23
name: "Compile tests"
env: RUSTFLAGS="--cap-lints=warn"
script:
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
- template: _build/install-rust.yml
parameters:
platform: Linux
rust_version: nightly-2020-04-01
rust_version: nightly-2020-04-23
- bash: |
sudo apt-get update &&
sudo apt-get -y install libsqlite3-dev libpq-dev libmysqlclient-dev
Expand Down
2 changes: 1 addition & 1 deletion diesel_compile_tests/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2020-04-01
nightly-2020-04-23
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ warning: The form `column_name(value)` is deprecated. Use `column_name = "value"
15 | #[column_name(name)]
| ^^^^^^^^^^^^^^^^^

warning: 2 warnings emitted

Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ to
35 | #[belongs_to(Baz, foreign_key = "bar_id", random_option)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 5 previous errors
error: aborting due to 5 previous errors; 2 warnings emitted

2 changes: 2 additions & 0 deletions diesel_compile_tests/tests/ui/belongs_to_second_parent.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ to
29 | #[belongs_to(Bar, Baz)]
| ^^^^^^^^^^^^^^^^^^^^

warning: 1 warning emitted

2 changes: 1 addition & 1 deletion diesel_compile_tests/tests/ui/sql_type_bad_options.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ error: `postgres` must be in the form `postgres(...)`
26 | #[postgres = "foo"]
| ^^^^^^^^^^^^^^^^

error: aborting due to 5 previous errors
error: aborting due to 5 previous errors; 3 warnings emitted

0 comments on commit 3f67533

Please sign in to comment.