]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/span/issue-42234-unknown-receiver-type.stderr
New upstream version 1.39.0+dfsg1
[rustc.git] / src / test / ui / span / issue-42234-unknown-receiver-type.stderr
index 04c2870d8329740c841dcfda86e97ce2eb01f8ac..30c9adb1dce72312cb88a7a7b25aed90e060d1db 100644 (file)
@@ -1,10 +1,10 @@
 error[E0282]: type annotations needed for `std::option::Option<_>`
-  --> $DIR/issue-42234-unknown-receiver-type.rs:7:5
+  --> $DIR/issue-42234-unknown-receiver-type.rs:7:7
    |
 LL |     let x: Option<_> = None;
    |         - consider giving `x` the explicit type `std::option::Option<_>`, where the type parameter `T` is specified
 LL |     x.unwrap().method_that_could_exist_on_some_type();
-   |     ^^^^^^^^^^ cannot infer type for `T`
+   |       ^^^^^^ cannot infer type for `T`
    |
    = note: type must be known at this point