X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Fui%2Fsuggestions%2Fissue-81839.stderr;h=4af7cc9f8ec800c7a2b8b6fb50648acecf633df9;hb=1594b58ce78b772aeb4bc8913f7f0c6ea3e0fcc7;hp=fae474cedb886831c23d45c676942da10da6d1a2;hpb=bfffe406fbcabb37b95779f2d252c4a277191e0d;p=rust.git diff --git a/tests/ui/suggestions/issue-81839.stderr b/tests/ui/suggestions/issue-81839.stderr index fae474cedb8..4af7cc9f8ec 100644 --- a/tests/ui/suggestions/issue-81839.stderr +++ b/tests/ui/suggestions/issue-81839.stderr @@ -14,11 +14,6 @@ LL | | _ => cx.answer_str("hi"), LL | | } | |_____- `match` arms have incompatible types | -note: while checking the return type of the `async fn` - --> $DIR/auxiliary/issue-81839.rs:6:49 - | -LL | pub async fn answer_str(&self, _s: &str) -> Test { - | ^^^^ checked the `Output` of this `async fn`, found opaque type = note: expected unit type `()` found opaque type `impl Future`