diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-12-07 01:52:53 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-12-23 13:45:45 +0100 |
| commit | bc95228f1b01619e4faecf4694c1cd1f0938815d (patch) | |
| tree | 43def6089a2d0905883cb3949c4322032ef7d3ac /src/test/ui/parser | |
| parent | 9c6bbf125277cf8e9b8374bfbf95f2bc12456f23 (diff) | |
| download | rust-bc95228f1b01619e4faecf4694c1cd1f0938815d.tar.gz rust-bc95228f1b01619e4faecf4694c1cd1f0938815d.zip | |
extract parse_dot_suffix_expr
Diffstat (limited to 'src/test/ui/parser')
| -rw-r--r-- | src/test/ui/parser/attr-stmt-expr-attr-bad.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/parser/attr-stmt-expr-attr-bad.stderr b/src/test/ui/parser/attr-stmt-expr-attr-bad.stderr index 992b491917e..371d3f575a4 100644 --- a/src/test/ui/parser/attr-stmt-expr-attr-bad.stderr +++ b/src/test/ui/parser/attr-stmt-expr-attr-bad.stderr @@ -393,19 +393,19 @@ LL | #[cfg(FALSE)] fn e() { let _ = x.#![attr]foo(); } | ^ expected one of `.`, `;`, `?`, or an operator error: unexpected token: `#` - --> $DIR/attr-stmt-expr-attr-bad.rs:106:34 + --> $DIR/attr-stmt-expr-attr-bad.rs:107:34 | LL | #[cfg(FALSE)] fn e() { let _ = x.#[attr]foo(); } | ^ error: expected one of `.`, `;`, `?`, or an operator, found `#` - --> $DIR/attr-stmt-expr-attr-bad.rs:106:34 + --> $DIR/attr-stmt-expr-attr-bad.rs:107:34 | LL | #[cfg(FALSE)] fn e() { let _ = x.#[attr]foo(); } | ^ expected one of `.`, `;`, `?`, or an operator error: expected statement after outer attribute - --> $DIR/attr-stmt-expr-attr-bad.rs:110:44 + --> $DIR/attr-stmt-expr-attr-bad.rs:112:44 | LL | #[cfg(FALSE)] fn e() { { fn foo() { #[attr]; } } } | ^ |
