summaryrefslogtreecommitdiffstats
path: root/src/test/ui/regions/regions-in-structs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/regions/regions-in-structs.rs')
-rw-r--r--src/test/ui/regions/regions-in-structs.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/regions/regions-in-structs.rs b/src/test/ui/regions/regions-in-structs.rs
deleted file mode 100644
index 71f718ba2..000000000
--- a/src/test/ui/regions/regions-in-structs.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-struct Yes1<'a> {
- x: &'a usize,
-}
-
-struct Yes2<'a> {
- x: &'a usize,
-}
-
-struct StructDecl {
- a: &'a isize, //~ ERROR use of undeclared lifetime name `'a`
- b: &'a isize, //~ ERROR use of undeclared lifetime name `'a`
-}
-
-
-fn main() {}