diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-10-28 01:04:16 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-12-20 11:37:15 +0100 |
| commit | b2d0ec0eb4cb468fefb66da7af67b9cf8132373e (patch) | |
| tree | d213a72eeb2474d8deaac6276955d1b2616725bf /src/libsyntax | |
| parent | 8057d485d435dcc4fb8e6f86708c71810199cf54 (diff) | |
| download | rust-b2d0ec0eb4cb468fefb66da7af67b9cf8132373e.tar.gz rust-b2d0ec0eb4cb468fefb66da7af67b9cf8132373e.zip | |
Fix coercion ICE
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index dbb31b0e56c..a176a1ddede 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -652,7 +652,8 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG "internal implementation detail", cfg_fn!(rustc_attrs))), - ("safe_suggestion", Whitelisted, Gated("safe_suggestion", + ("safe_suggestion", Whitelisted, Gated(Stability::Unstable, + "safe_suggestion", "the `#[safe_suggestion]` attribute \ is an experimental feature", cfg_fn!(safe_suggestion))), |
