Add rustc_never_type_mode = "no_fallback"
This commit is contained in:
parent
19bc337063
commit
adfdd273ae
3 changed files with 18 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue