rust/tests/ui/rfcs/rfc-2397-do-not-recommend/unstable-feature.rs

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

11 lines
145 B
Rust
Raw Normal View History

2023-01-12 11:41:21 +00:00
trait Foo {
}
2023-01-09 23:51:01 +00:00
#[do_not_recommend]
//~^ ERROR the `#[do_not_recommend]` attribute is an experimental feature
2023-01-12 11:41:21 +00:00
impl Foo for i32 {
2023-01-09 23:51:01 +00:00
}
fn main() {
}