]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/feature_gate.rs
feature-gate lint reasons
[rust.git] / src / libsyntax / feature_gate.rs
index 2cd4fd92bc81e97c9000d617217ce9219fb1575e..da0ec33030e06ace43192685dd84c34670fa6e3a 100644 (file)
@@ -504,6 +504,9 @@ pub fn walk_feature_fields<F>(&self, mut f: F)
 
     // `extern crate foo as bar;` puts `bar` into extern prelude.
     (active, extern_crate_item_prelude, "1.31.0", Some(54658), None),
+
+    // `reason = ` in lint attributes and `expect` lint attribute
+    (active, lint_reasons, "1.31.0", Some(54503), None),
 );
 
 declare_features! (