Update tests
This commit is contained in:
parent
2060d49c39
commit
fa72a81bea
2648 changed files with 6703 additions and 6703 deletions
|
@ -1,7 +1,7 @@
|
|||
error[E0423]: expected function, found type alias `A`
|
||||
--> $DIR/tuple-struct-alias.rs:5:13
|
||||
|
|
||||
LL | let s = A(0, 1); //~ ERROR expected function
|
||||
LL | let s = A(0, 1);
|
||||
| ^ help: a tuple struct with a similar name exists: `S`
|
||||
|
|
||||
= note: can't use a type alias as a constructor
|
||||
|
@ -9,7 +9,7 @@ LL | let s = A(0, 1); //~ ERROR expected function
|
|||
error[E0532]: expected tuple struct/variant, found type alias `A`
|
||||
--> $DIR/tuple-struct-alias.rs:7:9
|
||||
|
|
||||
LL | A(..) => {} //~ ERROR expected tuple struct/variant
|
||||
LL | A(..) => {}
|
||||
| ^ help: a tuple struct with a similar name exists: `S`
|
||||
|
|
||||
= note: can't use a type alias as a constructor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue