summary refs log tree commit diff
path: root/src/test/ui/methods
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-05-31 20:48:09 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-05-31 20:48:09 -0700
commitebbe725dd0dcd5289efd80c0c99127b1518da5ed (patch)
tree53c3b5e1d3b5e1895ac2175cd3ef074ad21a14e4 /src/test/ui/methods
parent74fb3bbee45d54e1680832ba064fa1af8d344bc0 (diff)
downloadrust-ebbe725dd0dcd5289efd80c0c99127b1518da5ed.tar.gz
rust-ebbe725dd0dcd5289efd80c0c99127b1518da5ed.zip
Tweak wording
Diffstat (limited to 'src/test/ui/methods')
-rw-r--r--src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr b/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr
index b9fa36041b1..842aa8a1f38 100644
--- a/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr
+++ b/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr
@@ -4,7 +4,7 @@ error[E0282]: type annotations needed in `std::vec::Vec<T>`
 LL |     let mut x = Vec::new();
    |         -----   ^^^^^^^^ cannot infer type for `T` in `std::vec::Vec<T>`
    |         |
-   |         consider giving `x` a type
+   |         consider giving `x` the type `std::vec::Vec<T>` with the type parameter `T` specified
 
 error[E0308]: mismatched types
   --> $DIR/method-ambig-one-trait-unknown-int-type.rs:33:20