diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2024-03-15 14:50:45 +0000 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2024-03-15 17:48:26 +0000 |
| commit | adfdd273ae2bf79aa3bb1f7b453e4df9c188a781 (patch) | |
| tree | b61600675fdb78afe3ccdb831e79ac7f35a3d78f /compiler/rustc_feature/src | |
| parent | 19bc3370632c4f26be1cb16b90f72375c55879a3 (diff) | |
Add `rustc_never_type_mode = "no_fallback"`
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/builtin_attrs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/builtin_attrs.rs b/compiler/rustc_feature/src/builtin_attrs.rs index a5f8b0b270f..e5a29f3a846 100644 --- a/compiler/rustc_feature/src/builtin_attrs.rs +++ b/compiler/rustc_feature/src/builtin_attrs.rs @@ -581,7 +581,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ ), rustc_attr!( - rustc_never_type_mode, Normal, template!(NameValueStr: "fallback_to_unit|fallback_to_niko|no_fallback"), ErrorFollowing, + rustc_never_type_mode, Normal, template!(NameValueStr: "fallback_to_unit|fallback_to_niko|fallback_to_never|no_fallback"), ErrorFollowing, @only_local: true, "`rustc_never_type_fallback` is used to experiment with never type fallback and work on \ never type stabilization, and will never be stable" |
