rust/tests/ui/stability-attribute/unresolved_stability_lint.rs

9 lines
197 B
Rust
Raw Normal View History

#![feature(staged_api)]
#![stable(feature = "uwu", since = "1.0.0")]
#[unstable(feature = "foo", issue = "none")]
impl Foo for () {}
//~^ ERROR cannot find trait `Foo` in this scope
fn main() {}