diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/save-analysis/issue-26459.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/save-analysis/issue-26459.rs b/src/test/ui/save-analysis/issue-26459.rs new file mode 100644 index 000000000..2ba05a0a4 --- /dev/null +++ b/src/test/ui/save-analysis/issue-26459.rs @@ -0,0 +1,8 @@ +// compile-flags: -Zsave-analysis + +fn main() { + match 'a' { + char{ch} => true + //~^ ERROR expected struct, variant or union type, found builtin type `char` + }; +} |