rust/tests/ui/rfcs/rfc-2093-infer-outlives/cross-crate.rs

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

9 lines
141 B
Rust
Raw Normal View History

#![feature(rustc_attrs)]
#[rustc_outlives]
2018-12-25 09:56:47 -06:00
struct Foo<'a, T> { //~ ERROR rustc_outlives
bar: std::slice::IterMut<'a, T>
}
fn main() {}