]> git.lizzy.rs Git - rust.git/blobdiff - .github/workflows/ci.yaml
Merge #10015
[rust.git] / .github / workflows / ci.yaml
index ee83f782f40a7eda3885ab5ebe0c1c44d3ab99f5..9c0f3093e1edd3f7107eee3e91285f81351f5f98 100644 (file)
@@ -12,7 +12,7 @@ env:
   CARGO_NET_RETRY: 10
   CI: 1
   RUST_BACKTRACE: short
-  RUSTFLAGS: "-D warnings -W unreachable-pub"
+  RUSTFLAGS: "-D warnings -W unreachable-pub -W rust-2021-compatibility"
   RUSTUP_MAX_RETRIES: 10
 
 jobs: