Fixed grammar/style in error messages and reblessed tests.
This commit is contained in:
parent
618768492f
commit
022d9c8eb5
125 changed files with 381 additions and 380 deletions
|
@ -11,7 +11,7 @@ async fn noop() {}
|
|||
async fn test_tuple() {
|
||||
let mut t: (i32, i32);
|
||||
t.0 = 42;
|
||||
//~^ ERROR assign to part of possibly uninitialized variable: `t` [E0381]
|
||||
//~^ ERROR assign to part of possibly-uninitialized variable: `t` [E0381]
|
||||
noop().await;
|
||||
t.1 = 88;
|
||||
let _ = t;
|
||||
|
@ -20,7 +20,7 @@ async fn test_tuple() {
|
|||
async fn test_tuple_struct() {
|
||||
let mut t: T;
|
||||
t.0 = 42;
|
||||
//~^ ERROR assign to part of possibly uninitialized variable: `t` [E0381]
|
||||
//~^ ERROR assign to part of possibly-uninitialized variable: `t` [E0381]
|
||||
noop().await;
|
||||
t.1 = 88;
|
||||
let _ = t;
|
||||
|
@ -29,7 +29,7 @@ async fn test_tuple_struct() {
|
|||
async fn test_struct() {
|
||||
let mut t: S;
|
||||
t.x = 42;
|
||||
//~^ ERROR assign to part of possibly uninitialized variable: `t` [E0381]
|
||||
//~^ ERROR assign to part of possibly-uninitialized variable: `t` [E0381]
|
||||
noop().await;
|
||||
t.y = 88;
|
||||
let _ = t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue