diff options
Diffstat (limited to 'tests/ui/annotate-snippet/missing-type.rs')
-rw-r--r-- | tests/ui/annotate-snippet/missing-type.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/annotate-snippet/missing-type.rs b/tests/ui/annotate-snippet/missing-type.rs new file mode 100644 index 000000000..b0d8b5fba --- /dev/null +++ b/tests/ui/annotate-snippet/missing-type.rs @@ -0,0 +1,5 @@ +// compile-flags: --error-format human-annotate-rs -Z unstable-options + +pub fn main() { + let x: Iter; //~ ERROR cannot find type `Iter` in this scope +} |