diff options
Diffstat (limited to 'src/test/ui/codemap_tests/tab.stderr')
-rw-r--r-- | src/test/ui/codemap_tests/tab.stderr | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/ui/codemap_tests/tab.stderr b/src/test/ui/codemap_tests/tab.stderr new file mode 100644 index 000000000..c3f19d20d --- /dev/null +++ b/src/test/ui/codemap_tests/tab.stderr @@ -0,0 +1,18 @@ +error[E0425]: cannot find value `bar` in this scope + --> $DIR/tab.rs:4:2 + | +LL | bar; + | ^^^ not found in this scope + +error[E0308]: mismatched types + --> $DIR/tab.rs:8:2 + | +LL | fn foo() { + | - help: try adding a return type: `-> &'static str` +LL | "bar boo" + | ^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&str` + +error: aborting due to 2 previous errors + +Some errors have detailed explanations: E0308, E0425. +For more information about an error, try `rustc --explain E0308`. |