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