about summary refs log tree commit diff
path: root/tests/ui
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui')
-rw-r--r--tests/ui/typeck/suggestions/suggest-add-wrapper-issue-145294.stderr8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/ui/typeck/suggestions/suggest-add-wrapper-issue-145294.stderr b/tests/ui/typeck/suggestions/suggest-add-wrapper-issue-145294.stderr
index ef5eeb29cf5..5e4ad132210 100644
--- a/tests/ui/typeck/suggestions/suggest-add-wrapper-issue-145294.stderr
+++ b/tests/ui/typeck/suggestions/suggest-add-wrapper-issue-145294.stderr
@@ -6,10 +6,6 @@ LL |     assert_eq!(Ok(Some("hi")), foo());
    |
    = note: expected enum `Result<Option<&str>, _>`
               found enum `Result<Option<String>, ()>`
-help: try wrapping the expression in `Err`
-   |
-LL |     assert_eq!(Ok(Some("hi")), Err(foo()));
-   |                                ++++     +
 
 error[E0308]: mismatched types
   --> $DIR/suggest-add-wrapper-issue-145294.rs:25:30
@@ -19,10 +15,6 @@ LL |     assert_eq!(Bar::A("hi"), bar());
    |
    = note: expected enum `Bar<&str, _>`
               found enum `Bar<String, ()>`
-help: try wrapping the expression in `Bar::B`
-   |
-LL |     assert_eq!(Bar::A("hi"), Bar::B(bar()));
-   |                              +++++++     +
 
 error: aborting due to 2 previous errors