]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/closures/issue-84128.stderr
Don't point out return span on every E0308
[rust.git] / src / test / ui / closures / issue-84128.stderr
index 09c44d261af0c449f373aeef4850a883f9d5761c..59607afec8f8da20f901af644eba78a8afe679c3 100644 (file)
@@ -6,11 +6,6 @@ LL |         Foo(())
    |         |
    |         arguments to this struct are incorrect
    |
-note: return type inferred to be `{integer}` here
-  --> $DIR/issue-84128.rs:10:20
-   |
-LL |             return Foo(0);
-   |                    ^^^^^^
 note: tuple struct defined here
   --> $DIR/issue-84128.rs:5:8
    |