2020-01-03 07:40:15 -06:00
|
|
|
error: this file contains an unclosed delimiter
|
|
|
|
--> $DIR/issue-62554.rs:5:52
|
2019-07-12 16:31:10 -05:00
|
|
|
|
|
|
|
|
LL | fn foo(u: u8) { if u8 macro_rules! u8 { (u6) => { fn uuuuuuuuuuu() { use s loo mod u8 {
|
2020-01-03 07:40:15 -06:00
|
|
|
| - - - - - unclosed delimiter
|
2019-07-12 16:31:10 -05:00
|
|
|
| | | | |
|
2020-01-03 07:40:15 -06:00
|
|
|
| | | | unclosed delimiter
|
|
|
|
| | | unclosed delimiter
|
|
|
|
| unclosed delimiter unclosed delimiter
|
2019-07-12 16:31:10 -05:00
|
|
|
LL |
|
|
|
|
LL |
|
2020-01-03 07:40:15 -06:00
|
|
|
| ^
|
2019-07-12 16:31:10 -05:00
|
|
|
|
|
|
|
error: expected `{`, found `macro_rules`
|
|
|
|
--> $DIR/issue-62554.rs:3:23
|
|
|
|
|
|
|
|
|
LL | fn foo(u: u8) { if u8 macro_rules! u8 { (u6) => { fn uuuuuuuuuuu() { use s loo mod u8 {
|
|
|
|
| -- ^^^^^^^^^^^ expected `{`
|
|
|
|
| |
|
2019-12-06 16:23:30 -06:00
|
|
|
| this `if` expression has a condition, but no block
|
2019-10-24 00:20:58 -05:00
|
|
|
|
|
2019-07-12 16:31:10 -05:00
|
|
|
help: try placing this code inside a block
|
|
|
|
|
|
|
|
|
LL | fn foo(u: u8) { if u8 { macro_rules! u8 { (u6) => { fn uuuuuuuuuuu() { use s loo mod u8 {
|
|
|
|
LL |
|
|
|
|
LL |
|
|
|
|
LL | }
|
|
|
|
|
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|