diff options
| author | Philipp Hansch <dev@phansch.net> | 2019-05-31 21:15:59 +0200 |
|---|---|---|
| committer | Philipp Hansch <dev@phansch.net> | 2019-06-04 18:46:00 +0200 |
| commit | c04a2ccb3525ee55ab2484f0390eff2a047eecce (patch) | |
| tree | bae76de8f873a78f754d465e96d3866f63137226 /src/test | |
| parent | 3f727aeeb7eb5a3d9a30131bdc462905900b6996 (diff) | |
| download | rust-c04a2ccb3525ee55ab2484f0390eff2a047eecce.tar.gz rust-c04a2ccb3525ee55ab2484f0390eff2a047eecce.zip | |
Add new error-format value to use annotate-snippet output
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/annotate-snippet/missing-type.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/annotate-snippet/missing-type.rs b/src/test/ui/annotate-snippet/missing-type.rs new file mode 100644 index 00000000000..e52a81ec161 --- /dev/null +++ b/src/test/ui/annotate-snippet/missing-type.rs @@ -0,0 +1,5 @@ +// compile-flags: --error-format human-annotate-rs + +pub fn main() { + let x: Iter; +} |
