diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-12-11 17:06:24 -0800 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-12-11 17:18:43 -0800 |
| commit | da023c0c6f3cdc72d72ef047c2dadb1a59c646df (patch) | |
| tree | 7a261302263e46ff5c481466846c7affcab2cfc3 /src/test/ui/methods | |
| parent | 45550ef2ff47020ab8af5feb08669c8c4ab879e9 (diff) | |
| download | rust-da023c0c6f3cdc72d72ef047c2dadb1a59c646df.tar.gz rust-da023c0c6f3cdc72d72ef047c2dadb1a59c646df.zip | |
Add more context for type parameters
Diffstat (limited to 'src/test/ui/methods')
| -rw-r--r-- | src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr | 2 |
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 fcd97647568..f3f3c476809 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 @@ -2,7 +2,7 @@ error[E0282]: type annotations needed for `std::vec::Vec<T>` --> $DIR/method-ambig-one-trait-unknown-int-type.rs:24:17 | LL | let mut x = Vec::new(); - | ----- ^^^^^^^^ cannot infer type for `T` + | ----- ^^^^^^^^ cannot infer type for type parameter `T` | | | consider giving `x` the explicit type `std::vec::Vec<T>`, where the type parameter `T` is specified |
