]> git.lizzy.rs Git - rust.git/blob - tests/ui/codemap_tests/tab.stderr
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where...
[rust.git] / tests / ui / codemap_tests / tab.stderr
1 error[E0425]: cannot find value `bar` in this scope
2   --> $DIR/tab.rs:4:2
3    |
4 LL |     bar;
5    |     ^^^ not found in this scope
6
7 error[E0308]: mismatched types
8   --> $DIR/tab.rs:8:2
9    |
10 LL | fn foo() {
11    |          - help: try adding a return type: `-> &'static str`
12 LL |     "bar            boo"
13    |     ^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&str`
14
15 error: aborting due to 2 previous errors
16
17 Some errors have detailed explanations: E0308, E0425.
18 For more information about an error, try `rustc --explain E0308`.