diff --git a/src/doc/unstable-book/src/compiler-flags/lint-rust-version.md b/src/doc/unstable-book/src/compiler-flags/lint-rust-version.md new file mode 100644 index 0000000000000..ecc0e7fba6350 --- /dev/null +++ b/src/doc/unstable-book/src/compiler-flags/lint-rust-version.md @@ -0,0 +1,9 @@ +# `lint-rust-version` + +The tracking issue for this feature is: [#157574](https://github.com/rust-lang/rust/issues/157574). + +------------------------ + +This feature allows you to specify a minimum Rust version for the crate, which will affect lint +emission. If following a lint suggestion would raise the MSRV above the provided value, it should +not be emitted.