Revert "Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davidtwco"
This reverts commit57dad1d75e
, reversing changes made to36316df9fe
.
This commit is contained in:
parent
ea13653f6f
commit
5ea5f6351e
@ -16,7 +16,7 @@ fn foo(
|
|||||||
|
|
||||||
fn skip_on_statements() {
|
fn skip_on_statements() {
|
||||||
#[rustfmt::skip]
|
#[rustfmt::skip]
|
||||||
{ 5+3; }
|
5+3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[rustfmt::skip]
|
#[rustfmt::skip]
|
||||||
@ -33,11 +33,11 @@ mod foo {
|
|||||||
#[clippy::msrv = "1.29"]
|
#[clippy::msrv = "1.29"]
|
||||||
fn msrv_1_29() {
|
fn msrv_1_29() {
|
||||||
#[cfg_attr(rustfmt, rustfmt::skip)]
|
#[cfg_attr(rustfmt, rustfmt::skip)]
|
||||||
{ 1+29; }
|
1+29;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[clippy::msrv = "1.30"]
|
#[clippy::msrv = "1.30"]
|
||||||
fn msrv_1_30() {
|
fn msrv_1_30() {
|
||||||
#[rustfmt::skip]
|
#[rustfmt::skip]
|
||||||
{ 1+30; }
|
1+30;
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ fn foo(
|
|||||||
|
|
||||||
fn skip_on_statements() {
|
fn skip_on_statements() {
|
||||||
#[cfg_attr(rustfmt, rustfmt::skip)]
|
#[cfg_attr(rustfmt, rustfmt::skip)]
|
||||||
{ 5+3; }
|
5+3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg_attr(rustfmt, rustfmt_skip)]
|
#[cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
@ -33,11 +33,11 @@ pub fn f() {}
|
|||||||
#[clippy::msrv = "1.29"]
|
#[clippy::msrv = "1.29"]
|
||||||
fn msrv_1_29() {
|
fn msrv_1_29() {
|
||||||
#[cfg_attr(rustfmt, rustfmt::skip)]
|
#[cfg_attr(rustfmt, rustfmt::skip)]
|
||||||
{ 1+29; }
|
1+29;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[clippy::msrv = "1.30"]
|
#[clippy::msrv = "1.30"]
|
||||||
fn msrv_1_30() {
|
fn msrv_1_30() {
|
||||||
#[cfg_attr(rustfmt, rustfmt::skip)]
|
#[cfg_attr(rustfmt, rustfmt::skip)]
|
||||||
{ 1+30; }
|
1+30;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user