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