We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dropck_eyepatch
1 parent b0eee76 commit 4bb68beCopy full SHA for 4bb68be
src/libsyntax/feature_gate.rs
@@ -167,6 +167,9 @@ declare_features! (
167
// RFC 1238
168
(active, dropck_parametricity, "1.3.0", Some(28498)),
169
170
+ // Allows using the may_dangle attribute; RFC 1327
171
+ (active, dropck_eyepatch, "1.10.0", Some(34761)),
172
+
173
// Allows the use of custom attributes; RFC 572
174
(active, custom_attribute, "1.0.0", Some(29642)),
175
@@ -617,6 +620,11 @@ pub const KNOWN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeGat
617
620
"unsafe_destructor_blind_to_params has unstable semantics \
618
621
and may be removed in the future",
619
622
cfg_fn!(dropck_parametricity))),
623
+ ("may_dangle",
624
+ Normal,
625
+ Gated("dropck_eyepatch",
626
+ "may_dangle has unstable semantics and may be removed in the future",
627
+ cfg_fn!(dropck_eyepatch))),
628
("unwind", Whitelisted, Gated("unwind_attributes", "#[unwind] is experimental",
629
cfg_fn!(unwind_attributes))),
630
0 commit comments