diff options
Diffstat (limited to 'src/test/ui/suggestions/suggest-move-lifetimes.rs')
-rw-r--r-- | src/test/ui/suggestions/suggest-move-lifetimes.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/test/ui/suggestions/suggest-move-lifetimes.rs b/src/test/ui/suggestions/suggest-move-lifetimes.rs deleted file mode 100644 index 6b26f1214..000000000 --- a/src/test/ui/suggestions/suggest-move-lifetimes.rs +++ /dev/null @@ -1,21 +0,0 @@ -struct A<T, 'a> { //~ ERROR lifetime parameters must be declared - t: &'a T, -} - -struct B<T, 'a, U> { //~ ERROR lifetime parameters must be declared - t: &'a T, - u: U, -} - -struct C<T, U, 'a> { //~ ERROR lifetime parameters must be declared - t: &'a T, - u: U, -} - -struct D<T, U, 'a, 'b, V, 'c> { //~ ERROR lifetime parameters must be declared - t: &'a T, - u: &'b U, - v: &'c V, -} - -fn main() {} |