diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-03-09 15:03:44 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-03-11 23:10:26 +0300 |
| commit | fa72a81bea27f1fda4287475e4cc2f684c971e7f (patch) | |
| tree | e691a2e38d57c5cd37932754ddf1d8a7048f1f54 /src/test/ui/tuple/tuple-struct-fields | |
| parent | 2060d49c39e41a286b0425cb2f7ba6022a2d4b96 (diff) | |
| download | rust-fa72a81bea27f1fda4287475e4cc2f684c971e7f.tar.gz rust-fa72a81bea27f1fda4287475e4cc2f684c971e7f.zip | |
Update tests
Diffstat (limited to 'src/test/ui/tuple/tuple-struct-fields')
| -rw-r--r-- | src/test/ui/tuple/tuple-struct-fields/test2.stderr | 4 | ||||
| -rw-r--r-- | src/test/ui/tuple/tuple-struct-fields/test3.stderr | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/tuple/tuple-struct-fields/test2.stderr b/src/test/ui/tuple/tuple-struct-fields/test2.stderr index 80f0ddc0e4f..78176c67ed2 100644 --- a/src/test/ui/tuple/tuple-struct-fields/test2.stderr +++ b/src/test/ui/tuple/tuple-struct-fields/test2.stderr @@ -4,13 +4,13 @@ error: expected one of `)` or `,`, found `(` LL | struct S3(pub $t ()); | ^ expected one of `)` or `,` here ... -LL | define_struct! { (foo) } //~ ERROR cannot find type `foo` in this scope +LL | define_struct! { (foo) } | ------------------------ in this macro invocation error[E0412]: cannot find type `foo` in this scope --> $DIR/test2.rs:11:23 | -LL | define_struct! { (foo) } //~ ERROR cannot find type `foo` in this scope +LL | define_struct! { (foo) } | ^^^ not found in this scope error: aborting due to 2 previous errors diff --git a/src/test/ui/tuple/tuple-struct-fields/test3.stderr b/src/test/ui/tuple/tuple-struct-fields/test3.stderr index fbc01744fe4..e105aad09e6 100644 --- a/src/test/ui/tuple/tuple-struct-fields/test3.stderr +++ b/src/test/ui/tuple/tuple-struct-fields/test3.stderr @@ -4,13 +4,13 @@ error: expected one of `)` or `,`, found `(` LL | struct S3(pub($t) ()); | ^ expected one of `)` or `,` here ... -LL | define_struct! { foo } //~ ERROR cannot find type `foo` in this scope +LL | define_struct! { foo } | ---------------------- in this macro invocation error[E0412]: cannot find type `foo` in this scope --> $DIR/test3.rs:11:22 | -LL | define_struct! { foo } //~ ERROR cannot find type `foo` in this scope +LL | define_struct! { foo } | ^^^ not found in this scope error: aborting due to 2 previous errors |
