diff options
Diffstat (limited to 'src/test/ui/regions/regions-in-structs-anon.stderr')
-rw-r--r-- | src/test/ui/regions/regions-in-structs-anon.stderr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/regions/regions-in-structs-anon.stderr b/src/test/ui/regions/regions-in-structs-anon.stderr new file mode 100644 index 000000000..992d25c9f --- /dev/null +++ b/src/test/ui/regions/regions-in-structs-anon.stderr @@ -0,0 +1,15 @@ +error[E0106]: missing lifetime specifier + --> $DIR/regions-in-structs-anon.rs:4:8 + | +LL | x: &isize + | ^ expected named lifetime parameter + | +help: consider introducing a named lifetime parameter + | +LL ~ struct Foo<'a> { +LL ~ x: &'a isize + | + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0106`. |