diff options
Diffstat (limited to 'src/test/ui/generic-associated-types/gat-in-trait-path-undeclared-lifetime.rs')
-rw-r--r-- | src/test/ui/generic-associated-types/gat-in-trait-path-undeclared-lifetime.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/generic-associated-types/gat-in-trait-path-undeclared-lifetime.rs b/src/test/ui/generic-associated-types/gat-in-trait-path-undeclared-lifetime.rs deleted file mode 100644 index 86b164ba7..000000000 --- a/src/test/ui/generic-associated-types/gat-in-trait-path-undeclared-lifetime.rs +++ /dev/null @@ -1,9 +0,0 @@ -trait X { - type Y<'x>; -} - -fn main() { - fn _f(arg : Box<dyn for<'a> X<Y<'x> = &'a [u32]>>) {} - //~^ ERROR: use of undeclared lifetime name `'x` - //~| ERROR: binding for associated type `Y` references lifetime -} |