rust/tests/ui/deprecation/feature-gate-deprecated_suggestion.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
164 B
Rust
Raw Normal View History

// compile-flags: --crate-type=lib
#![no_implicit_prelude]
#[deprecated(suggestion = "foo")] //~ ERROR suggestions on deprecated items are unstable
struct Foo {}