]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/type/type-check/cannot_infer_local_or_vec.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / type / type-check / cannot_infer_local_or_vec.stderr
index 8162fed2cd8ec205d7c5560643556d6c8ccb50a7..729a8c63b624036f5c0f9fde80e1c758d8e06af2 100644 (file)
@@ -1,10 +1,10 @@
-error[E0282]: type annotations needed for `std::vec::Vec<T>`
+error[E0282]: type annotations needed for `Vec<T>`
   --> $DIR/cannot_infer_local_or_vec.rs:2:13
    |
 LL |     let x = vec![];
    |         -   ^^^^^^ cannot infer type for type parameter `T`
    |         |
-   |         consider giving `x` the explicit type `std::vec::Vec<T>`, where the type parameter `T` is specified
+   |         consider giving `x` the explicit type `Vec<T>`, where the type parameter `T` is specified
    |
    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)