rust/tests/ui/codemap_tests/tab.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
521 B
Plaintext
Raw Normal View History

error[E0425]: cannot find value `bar` in this scope
2018-12-25 15:56:47 +00:00
--> $DIR/tab.rs:4:2
|
2019-03-09 12:03:44 +00:00
LL | bar;
| ^^^ not found in this scope
error[E0308]: mismatched types
2018-12-25 15:56:47 +00:00
--> $DIR/tab.rs:8:2
|
2018-02-23 00:42:32 +00:00
LL | fn foo() {
| - help: try adding a return type: `-> &'static str`
2019-03-09 12:03:44 +00:00
LL | "bar boo"
| ^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&str`
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0308, E0425.
2018-03-03 14:59:40 +00:00
For more information about an error, try `rustc --explain E0308`.