diff options
| author | Rageking8 <106309953+Rageking8@users.noreply.github.com> | 2022-09-23 00:02:50 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-23 00:02:50 +0800 |
| commit | f4170b38c8735daa9e764ea395c6c32cd7b9ffa3 (patch) | |
| tree | e1b057e25477bf01177c44420d3771ccaed1e607 /src | |
| parent | a1062b9bdcf691fc09f8683ae36d2b31c06c3d8f (diff) | |
| download | rust-f4170b38c8735daa9e764ea395c6c32cd7b9ffa3.tar.gz rust-f4170b38c8735daa9e764ea395c6c32cd7b9ffa3.zip | |
Change UI test stderr
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/parser/issues/issue-101540.stderr | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/test/ui/parser/issues/issue-101540.stderr b/src/test/ui/parser/issues/issue-101540.stderr index 42e471cc135..d4e861b6061 100644 --- a/src/test/ui/parser/issues/issue-101540.stderr +++ b/src/test/ui/parser/issues/issue-101540.stderr @@ -2,9 +2,8 @@ error: structs are not allowed in struct definitions --> $DIR/issue-101540.rs:2:5 | LL | struct S2 { - | _____-^^^^^ -LL | | -LL | | } - | |_____- help: consider creating a new `struct` definition instead of nesting + | ^^^^^^^^^ + | + = help: consider creating a new `struct` definition instead of nesting error: aborting due to previous error |
