diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-7607-1.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-7607-1.rs b/src/test/ui/issues/issue-7607-1.rs new file mode 100644 index 000000000..5221f2c52 --- /dev/null +++ b/src/test/ui/issues/issue-7607-1.rs @@ -0,0 +1,9 @@ +struct Foo { + x: isize +} + +impl Fo { //~ ERROR cannot find type `Fo` in this scope + fn foo() {} +} + +fn main() {} |