]> git.lizzy.rs Git - rust.git/blob - tests/ui/inference/ambiguous_type_parameter.stderr
Rollup merge of #107348 - lcnr:project-solve-new, r=compiler-errors
[rust.git] / tests / ui / inference / ambiguous_type_parameter.stderr
1 error[E0282]: type annotations needed
2   --> $DIR/ambiguous_type_parameter.rs:16:19
3    |
4 LL |     InMemoryStore.get_raw(&String::default());
5    |                   ^^^^^^^
6    |
7 help: try using a fully qualified path to specify the expected types
8    |
9 LL |     <InMemoryStore as Store<String, HashMap<K, String>>>::get_raw(&InMemoryStore, &String::default());
10    |     +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++             ~
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0282`.