2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find value `bar` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/tab.rs:4:2
|
2016-07-13 16:53:42 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | bar;
|
2017-11-13 00:06:00 -06:00
|
|
|
| ^^^ not found in this scope
|
2016-07-13 16:53:42 -05:00
|
|
|
|
2017-09-07 01:47:13 -05:00
|
|
|
error[E0308]: mismatched types
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/tab.rs:8:2
|
2017-09-07 01:47:13 -05:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn foo() {
|
2017-12-09 15:04:27 -06:00
|
|
|
| - help: try adding a return type: `-> &'static str`
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | "bar boo"
|
2019-11-15 11:37:01 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&str`
|
2017-09-07 01:47:13 -05:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2016-07-13 16:53:42 -05:00
|
|
|
|
2019-04-17 12:26:38 -05:00
|
|
|
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`.
|