Update to a nightly that has clippy and rustfmt
diff --git a/.travis.yml b/.travis.yml
index 462abc5..a5a766b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -82,7 +82,7 @@
allow_failures:
- rust: nightly
include:
- - rust: nightly-2020-04-01
+ - rust: nightly-2020-04-23
name: "Compile tests"
env: RUSTFLAGS="--cap-lints=warn"
script:
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index c480180..1952595 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -167,7 +167,7 @@
- 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
diff --git a/diesel_compile_tests/rust-toolchain b/diesel_compile_tests/rust-toolchain
index 467d151..49343ab 100644
--- a/diesel_compile_tests/rust-toolchain
+++ b/diesel_compile_tests/rust-toolchain
@@ -1 +1 @@
-nightly-2020-04-01
+nightly-2020-04-23
diff --git a/diesel_compile_tests/tests/ui/as_changeset_deprecated_column_name.stderr b/diesel_compile_tests/tests/ui/as_changeset_deprecated_column_name.stderr
index 18c0bb9..6fab5ba 100644
--- a/diesel_compile_tests/tests/ui/as_changeset_deprecated_column_name.stderr
+++ b/diesel_compile_tests/tests/ui/as_changeset_deprecated_column_name.stderr
@@ -10,3 +10,5 @@
15 | #[column_name(name)]
| ^^^^^^^^^^^^^^^^^
+warning: 2 warnings emitted
+
diff --git a/diesel_compile_tests/tests/ui/belongs_to_invalid_option_syntax.stderr b/diesel_compile_tests/tests/ui/belongs_to_invalid_option_syntax.stderr
index 9d92db1..b85aa9a 100644
--- a/diesel_compile_tests/tests/ui/belongs_to_invalid_option_syntax.stderr
+++ b/diesel_compile_tests/tests/ui/belongs_to_invalid_option_syntax.stderr
@@ -48,5 +48,5 @@
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
diff --git a/diesel_compile_tests/tests/ui/belongs_to_second_parent.stderr b/diesel_compile_tests/tests/ui/belongs_to_second_parent.stderr
index 61a4787..97b729a 100644
--- a/diesel_compile_tests/tests/ui/belongs_to_second_parent.stderr
+++ b/diesel_compile_tests/tests/ui/belongs_to_second_parent.stderr
@@ -8,3 +8,5 @@
29 | #[belongs_to(Bar, Baz)]
| ^^^^^^^^^^^^^^^^^^^^
+warning: 1 warning emitted
+
diff --git a/diesel_compile_tests/tests/ui/sql_type_bad_options.stderr b/diesel_compile_tests/tests/ui/sql_type_bad_options.stderr
index b382448..b03e52d 100644
--- a/diesel_compile_tests/tests/ui/sql_type_bad_options.stderr
+++ b/diesel_compile_tests/tests/ui/sql_type_bad_options.stderr
@@ -46,5 +46,5 @@
26 | #[postgres = "foo"]
| ^^^^^^^^^^^^^^^^
-error: aborting due to 5 previous errors
+error: aborting due to 5 previous errors; 3 warnings emitted