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

9 lines
122 B
Rust
Raw Normal View History

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