diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2019-07-13 18:02:00 +0300 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2019-09-24 21:11:50 +0300 |
| commit | 5d79e8c4c97388dd1201135b8d6cfadccfd3c8e3 (patch) | |
| tree | 374ae8a87cd853e2087688d0d44be613af970d1d /src/libsyntax/feature_gate | |
| parent | 6ef275e6c3cb1384ec78128eceeb4963ff788dca (diff) | |
| download | rust-5d79e8c4c97388dd1201135b8d6cfadccfd3c8e3.tar.gz rust-5d79e8c4c97388dd1201135b8d6cfadccfd3c8e3.zip | |
reserve `impl<T> From<!> for T`
this is necessary for never-type stabilization
Diffstat (limited to 'src/libsyntax/feature_gate')
| -rw-r--r-- | src/libsyntax/feature_gate/builtin_attrs.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate/builtin_attrs.rs b/src/libsyntax/feature_gate/builtin_attrs.rs index b6e13200f32..d38489a2f0d 100644 --- a/src/libsyntax/feature_gate/builtin_attrs.rs +++ b/src/libsyntax/feature_gate/builtin_attrs.rs @@ -498,6 +498,10 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ overflow checking behavior of several libcore functions that are inlined \ across crates and will never be stable", ), + rustc_attr!(rustc_reservation_impl, Normal, template!(Word), + "the `#[rustc_reservation_impl]` attribute is internally used \ + for reserving for `for<T> From<!> for T` impl" + ), rustc_attr!( rustc_test_marker, Normal, template!(Word), "the `#[rustc_test_marker]` attribute is used internally to track tests", |
