rust/tests/ui/error-codes/E0208.rs

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

9 lines
115 B
Rust
Raw Normal View History

#![feature(rustc_attrs)]
#[rustc_variance]
struct Foo<'a, T> { //~ ERROR [+, o]
t: &'a mut T,
}
fn main() {}