]> git.lizzy.rs Git - rust.git/blob - tests/ui/min_rust_version_attr.stderr
add MSRV to more lints specified in #6097
[rust.git] / tests / ui / min_rust_version_attr.stderr
1 error[E0425]: cannot find value `x` in this scope
2   --> $DIR/min_rust_version_attr.rs:77:5
3    |
4 LL |     x >= 8 && x < 12;
5    |     ^ not found in this scope
6
7 error[E0425]: cannot find value `x` in this scope
8   --> $DIR/min_rust_version_attr.rs:77:15
9    |
10 LL |     x >= 8 && x < 12;
11    |               ^ not found in this scope
12
13 error[E0308]: mismatched types
14   --> $DIR/min_rust_version_attr.rs:95:31
15    |
16 LL |     let _ = std::mem::replace(s, String::default());
17    |                               ^
18    |                               |
19    |                               expected `&mut _`, found struct `std::string::String`
20    |                               help: consider mutably borrowing here: `&mut s`
21    |
22    = note: expected mutable reference `&mut _`
23                          found struct `std::string::String`
24
25 error: aborting due to 3 previous errors
26
27 Some errors have detailed explanations: E0308, E0425.
28 For more information about an error, try `rustc --explain E0308`.