]> git.lizzy.rs Git - rust.git/blob - tests/ui/deprecation/feature-gate-deprecated_suggestion.rs
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[rust.git] / tests / ui / deprecation / feature-gate-deprecated_suggestion.rs
1 // compile-flags: --crate-type=lib
2
3 #![no_implicit_prelude]
4
5 #[deprecated(suggestion = "foo")] //~ ERROR suggestions on deprecated items are unstable
6 struct Foo {}