about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/active.rs
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2022-12-09 02:27:03 +0000
committerGary Guo <gary@garyguo.net>2022-12-09 02:29:51 +0000
commit5e44a65517bfcccbe6624a70b54b9f192baa94f3 (patch)
treeacbb2748e4bb82e0d2cfac54ac40fe49416f1702 /compiler/rustc_feature/src/active.rs
parent7632db0e87d8adccc9a83a47795c9411b1455855 (diff)
downloadrust-5e44a65517bfcccbe6624a70b54b9f192baa94f3.tar.gz
rust-5e44a65517bfcccbe6624a70b54b9f192baa94f3.zip
Implement allow-by-default multiple_supertrait_upcastable lint
Diffstat (limited to 'compiler/rustc_feature/src/active.rs')
-rw-r--r--compiler/rustc_feature/src/active.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs
index 69c5297bf6b..2be59deb705 100644
--- a/compiler/rustc_feature/src/active.rs
+++ b/compiler/rustc_feature/src/active.rs
@@ -160,6 +160,8 @@ declare_features! (
     (active, intrinsics, "1.0.0", None, None),
     /// Allows using `#[lang = ".."]` attribute for linking items to special compiler logic.
     (active, lang_items, "1.0.0", None, None),
+    /// Allows the `multiple_supertrait_upcastable` lint.
+    (active, multiple_supertrait_upcastable, "CURRENT_RUSTC_VERSION", None, None),
     /// Allows using `#[omit_gdb_pretty_printer_section]`.
     (active, omit_gdb_pretty_printer_section, "1.5.0", None, None),
     /// Allows using `#[prelude_import]` on glob `use` items.