]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/suggestions/issue-52820.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / suggestions / issue-52820.stderr
index fb568aca250e773b048c32840f7ae1767c462d59..ba7457df0693e9accf6387dcd48562e40821a2a2 100644 (file)
@@ -6,9 +6,6 @@ LL |         guts,
    |         |
    |         expected struct `std::string::String`, found &str
    |         help: try using a conversion method: `guts: guts.to_string()`
-   |
-   = note: expected type `std::string::String`
-              found type `&str`
 
 error[E0308]: mismatched types
   --> $DIR/issue-52820.rs:10:17
@@ -18,9 +15,6 @@ LL |         brains: guts.clone(),
    |                 |
    |                 expected struct `std::string::String`, found &str
    |                 help: try using a conversion method: `guts.to_string()`
-   |
-   = note: expected type `std::string::String`
-              found type `&str`
 
 error: aborting due to 2 previous errors