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

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

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() {}