You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: unnecessary parentheses around assigned value
2
-
--> $DIR/suggestions.rs:17:21
2
+
--> $DIR/suggestions.rs:30:21
3
3
|
4
-
17 | let mut a = (1); // should suggest no `mut`, no parens
4
+
30 | let mut a = (1); // should suggest no `mut`, no parens
5
5
| ^^^ help: remove these parentheses
6
6
|
7
7
= note: #[warn(unused_parens)] on by default
8
8
9
9
warning: use of deprecated attribute `no_debug`: the `#[no_debug]` attribute was an experimental feature that has been deprecated due to lack of demand. See https://github.com/rust-lang/rust/issues/29721
10
-
--> $DIR/suggestions.rs:14:1
10
+
--> $DIR/suggestions.rs:27:1
11
11
|
12
-
14 | #[no_debug] // should suggest removal of deprecated attribute
12
+
27 | #[no_debug] // should suggest removal of deprecated attribute
13
13
| ^^^^^^^^^^^ help: remove this attribute
14
14
|
15
15
= note: #[warn(deprecated)] on by default
16
16
17
17
warning: variable does not need to be mutable
18
-
--> $DIR/suggestions.rs:17:13
18
+
--> $DIR/suggestions.rs:30:13
19
19
|
20
-
17 | let mut a = (1); // should suggest no `mut`, no parens
20
+
30 | let mut a = (1); // should suggest no `mut`, no parens
0 commit comments