]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/field_reassign_with_default.stderr
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / field_reassign_with_default.stderr
index 3ce4b91a54869d13c4b72ce7235cc51981a6169e..710bb66a48a4078eb4b4fdcbf1479e1255ea201e 100644 (file)
@@ -4,12 +4,12 @@ error: field assignment outside of initializer for an instance created with Defa
 LL |     a.i = 42;
    |     ^^^^^^^^^
    |
-   = note: `-D clippy::field-reassign-with-default` implied by `-D warnings`
 note: consider initializing the variable with `main::A { i: 42, ..Default::default() }` and removing relevant reassignments
   --> $DIR/field_reassign_with_default.rs:62:5
    |
 LL |     let mut a: A = Default::default();
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   = note: `-D clippy::field-reassign-with-default` implied by `-D warnings`
 
 error: field assignment outside of initializer for an instance created with Default::default()
   --> $DIR/field_reassign_with_default.rs:103:5