]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/switched-expectations.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / switched-expectations.stderr
index 822ffeb0d32de3c1434eb500600ebb7397ea91ef..9db318735bdc0cfa48d2b0cef127b94e067e5da8 100644 (file)
@@ -1,7 +1,7 @@
 error[E0308]: mismatched types
   --> $DIR/switched-expectations.rs:13:30
    |
-13 |     let ref string: String = var; //~ ERROR mismatched types [E0308]
+LL |     let ref string: String = var; //~ ERROR mismatched types [E0308]
    |                              ^^^ expected struct `std::string::String`, found i32
    |
    = note: expected type `std::string::String`
@@ -9,3 +9,4 @@ error[E0308]: mismatched types
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0308`.