1 warning: useless assignment of variable of type `i32` to itself
2 --> $DIR/self-assign.rs:10:5
7 note: the lint level is defined here
8 --> $DIR/self-assign.rs:6:9
10 LL | #![warn(dead_code)]
13 warning: useless assignment of variable of type `i32` to itself
14 --> $DIR/self-assign.rs:13:5
19 warning: useless assignment of variable of type `S` to itself
20 --> $DIR/self-assign.rs:22:5
25 warning: useless assignment of field of type `&str` to itself
26 --> $DIR/self-assign.rs:25:5
31 warning: useless assignment of field of type `Box<i32>` to itself
32 --> $DIR/self-assign.rs:34:5
34 LL | n3.n.0.n.x = n3.n.0.n.x;
35 | ^^^^^^^^^^^^^^^^^^^^^^^
37 warning: useless assignment of field of type `i32` to itself
38 --> $DIR/self-assign.rs:38:5
40 LL | t.1.0.2.1 = t.1.0.2.1;
41 | ^^^^^^^^^^^^^^^^^^^^^
43 warning: 6 warnings emitted