]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/lint/builtin.rs
Implement new orphan rule that requires that impls of remote traits meet the followin...
[rust.git] / src / librustc / lint / builtin.rs
index 8f03f8821285a47c24d951abb92d114d3d651beb..cf5ca5956f4b3d432a918bcee6bf58ebe085efb1 100644 (file)
@@ -670,6 +670,9 @@ fn check_attribute(&mut self, cx: &Context, attr: &ast::Attribute) {
             "must_use",
             "stable",
             "unstable",
+
+            // FIXME: #19470 this shouldn't be needed forever
+            "old_orphan_check",
         ];
 
         static CRATE_ATTRS: &'static [&'static str] = &[