diff options
Diffstat (limited to 'tests/ui/resolve/enums-pats-not-idents.rs')
-rw-r--r-- | tests/ui/resolve/enums-pats-not-idents.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/resolve/enums-pats-not-idents.rs b/tests/ui/resolve/enums-pats-not-idents.rs new file mode 100644 index 000000000..5b918eef6 --- /dev/null +++ b/tests/ui/resolve/enums-pats-not-idents.rs @@ -0,0 +1,3 @@ +fn main() { + let a(1) = 13; //~ ERROR cannot find tuple struct or tuple variant `a` in this scope +} |