diff options
| author | Ralf Jung <post@ralfj.de> | 2024-10-31 07:38:55 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-31 07:38:55 +0000 |
| commit | 6630802a1a6f09f9e07ee4113da3414e5e275972 (patch) | |
| tree | ffc6f5b6daffb4d56ff7c1637b508581b27afe2b /tests/ui/array-slice-vec | |
| parent | 445a340af3a5feb30022103db51b3fbdf3e0c863 (diff) | |
| parent | b8bd7becb419084397adc6b797136c20046fdacb (diff) | |
| download | rust-6630802a1a6f09f9e07ee4113da3414e5e275972.tar.gz rust-6630802a1a6f09f9e07ee4113da3414e5e275972.zip | |
Merge pull request #4005 from rust-lang/rustup-2024-10-31
Automatic Rustup
Diffstat (limited to 'tests/ui/array-slice-vec')
| -rw-r--r-- | tests/ui/array-slice-vec/vec-macro-with-comma-only.rs | 2 | ||||
| -rw-r--r-- | tests/ui/array-slice-vec/vec-macro-with-comma-only.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/array-slice-vec/vec-macro-with-comma-only.rs b/tests/ui/array-slice-vec/vec-macro-with-comma-only.rs index 574a53c58fe..0f99f6b1b1e 100644 --- a/tests/ui/array-slice-vec/vec-macro-with-comma-only.rs +++ b/tests/ui/array-slice-vec/vec-macro-with-comma-only.rs @@ -1,3 +1,3 @@ pub fn main() { - vec![,]; //~ ERROR no rules expected the token `,` + vec![,]; //~ ERROR no rules expected `,` } diff --git a/tests/ui/array-slice-vec/vec-macro-with-comma-only.stderr b/tests/ui/array-slice-vec/vec-macro-with-comma-only.stderr index b3f953af6d2..d76d493eca8 100644 --- a/tests/ui/array-slice-vec/vec-macro-with-comma-only.stderr +++ b/tests/ui/array-slice-vec/vec-macro-with-comma-only.stderr @@ -1,4 +1,4 @@ -error: no rules expected the token `,` +error: no rules expected `,` --> $DIR/vec-macro-with-comma-only.rs:2:10 | LL | vec![,]; |
