diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-30535.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-30535.rs b/src/test/ui/issues/issue-30535.rs new file mode 100644 index 000000000..d48f00d5a --- /dev/null +++ b/src/test/ui/issues/issue-30535.rs @@ -0,0 +1,9 @@ +// aux-build:issue-30535.rs + +extern crate issue_30535 as foo; + +fn bar( + _: foo::Foo::FooV //~ ERROR expected type, found variant `foo::Foo::FooV` +) {} + +fn main() {} |