Revert "Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davidtwco"
This reverts commit 57dad1d75e562ff73051c1c43b07eaf65c7dbd74, reversing changes made to 36316df9fe6c3e246153fe6e78967643cf08c148.
This commit is contained in:
parent
c1ea87876f
commit
783a411f67
@ -214,8 +214,8 @@ type Os = NoSource;
|
||||
// #3313
|
||||
fn stmt_expr_attributes() {
|
||||
let foo ;
|
||||
(#[must_use]
|
||||
foo) = false ;
|
||||
#[must_use]
|
||||
foo = false ;
|
||||
}
|
||||
|
||||
// #3509
|
||||
|
@ -248,8 +248,8 @@ type Os = NoSource;
|
||||
// #3313
|
||||
fn stmt_expr_attributes() {
|
||||
let foo;
|
||||
(#[must_use]
|
||||
foo) = false;
|
||||
#[must_use]
|
||||
foo = false;
|
||||
}
|
||||
|
||||
// #3509
|
||||
|
Loading…
x
Reference in New Issue
Block a user