summaryrefslogtreecommitdiffstats
path: root/tests/ui/deprecation/feature-gate-deprecated_suggestion.rs
blob: a2d0023e3f47938b23195d9e93ab07a894bfb919 (plain)
1
2
3
4
5
6
// compile-flags: --crate-type=lib

#![no_implicit_prelude]

#[deprecated(suggestion = "foo")] //~ ERROR suggestions on deprecated items are unstable
struct Foo {}