diff options
Diffstat (limited to 'tests/ui/rfc-2093-infer-outlives/explicit-dyn.rs')
-rw-r--r-- | tests/ui/rfc-2093-infer-outlives/explicit-dyn.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/ui/rfc-2093-infer-outlives/explicit-dyn.rs b/tests/ui/rfc-2093-infer-outlives/explicit-dyn.rs deleted file mode 100644 index 419fb0a0e..000000000 --- a/tests/ui/rfc-2093-infer-outlives/explicit-dyn.rs +++ /dev/null @@ -1,12 +0,0 @@ -#![feature(rustc_attrs)] - -trait Trait<'x, T> where T: 'x { -} - -#[rustc_outlives] -struct Foo<'a, A> //~ ERROR rustc_outlives -{ - foo: Box<dyn Trait<'a, A>> -} - -fn main() {} |