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
122 B
Rust
Raw Permalink Normal View History

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