|
| 1 | +error: bad substitution: expected '}' |
| 2 | + --> tests/ui/compile_fail.rs:6:19 |
| 3 | + | |
| 4 | +6 | run_fun!(echo "${ msg }").unwrap(); |
| 5 | + | ^^^^^^^^^^ |
| 6 | + |
| 7 | +error: bad substitution: expected '}' |
| 8 | + --> tests/ui/compile_fail.rs:8:19 |
| 9 | + | |
| 10 | +8 | run_fun!(echo "${").unwrap(); |
| 11 | + | ^^^^ |
| 12 | + |
| 13 | +error: bad substitution: expected '}' |
| 14 | + --> tests/ui/compile_fail.rs:9:19 |
| 15 | + | |
| 16 | +9 | run_fun!(echo "${msg").unwrap(); |
| 17 | + | ^^^^^^^ |
| 18 | + |
| 19 | +error: bad substitution: expected '}' |
| 20 | + --> tests/ui/compile_fail.rs:11:19 |
| 21 | + | |
| 22 | +11 | run_fun!(echo "${0}").unwrap(); |
| 23 | + | ^^^^^^ |
| 24 | + |
| 25 | +error: bad substitution: expected '}' |
| 26 | + --> tests/ui/compile_fail.rs:12:19 |
| 27 | + | |
| 28 | +12 | run_fun!(echo "${ 0 }").unwrap(); |
| 29 | + | ^^^^^^^^ |
| 30 | + |
| 31 | +error: bad substitution: expected '}' |
| 32 | + --> tests/ui/compile_fail.rs:13:19 |
| 33 | + | |
| 34 | +13 | run_fun!(echo "${0msg}").unwrap(); |
| 35 | + | ^^^^^^^^^ |
| 36 | + |
| 37 | +error: bad substitution: expected '}' |
| 38 | + --> tests/ui/compile_fail.rs:14:19 |
| 39 | + | |
| 40 | +14 | run_fun!(echo "${msg 0}").unwrap(); |
| 41 | + | ^^^^^^^^^^ |
| 42 | + |
| 43 | +error: wrong double redirection format |
| 44 | + --> tests/ui/compile_fail.rs:17:19 |
| 45 | + | |
| 46 | +17 | run_cmd!(ls > >&1).unwrap(); |
| 47 | + | ^ |
| 48 | + |
| 49 | +error: raw fd not allowed for append redirection |
| 50 | + --> tests/ui/compile_fail.rs:18:19 |
| 51 | + | |
| 52 | +18 | run_cmd!(ls >>&1).unwrap(); |
| 53 | + | ^ |
| 54 | + |
| 55 | +error: raw fd not allowed for append redirection |
| 56 | + --> tests/ui/compile_fail.rs:19:19 |
| 57 | + | |
| 58 | +19 | run_cmd!(ls >>&2).unwrap(); |
| 59 | + | ^ |
| 60 | + |
| 61 | +error: wrong double redirection format |
| 62 | + --> tests/ui/compile_fail.rs:22:25 |
| 63 | + | |
| 64 | +22 | run_cmd!(ls / /x &>>> /tmp/f).unwrap(); |
| 65 | + | ^ |
| 66 | + |
| 67 | +error: wrong double redirection format |
| 68 | + --> tests/ui/compile_fail.rs:23:25 |
| 69 | + | |
| 70 | +23 | run_cmd!(ls / /x &> > /tmp/f).unwrap(); |
| 71 | + | ^ |
| 72 | + |
| 73 | +error: wrong double redirection format |
| 74 | + --> tests/ui/compile_fail.rs:24:24 |
| 75 | + | |
| 76 | +24 | run_cmd!(ls / /x > > /tmp/f).unwrap(); |
| 77 | + | ^ |
| 78 | + |
| 79 | +error: wrong double redirection format |
| 80 | + --> tests/ui/compile_fail.rs:25:25 |
| 81 | + | |
| 82 | +25 | run_cmd!(ls / /x >> > /tmp/f).unwrap(); |
| 83 | + | ^ |
| 84 | + |
| 85 | +error[E0425]: cannot find value `msg0` in this scope |
| 86 | + --> tests/ui/compile_fail.rs:5:5 |
| 87 | + | |
| 88 | +5 | run_cmd!(echo "${msg0}").unwrap(); |
| 89 | + | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope |
| 90 | + | |
| 91 | + = note: this error originates in the macro `run_cmd` (in Nightly builds, run with -Z macro-backtrace for more info) |
0 commit comments