summaryrefslogtreecommitdiffstats
path: root/tests/ui/inference/ambiguous_type_parameter.stderr
blob: 9cbe221de1393f86ee5b6cb3d70350b24acee14b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0282]: type annotations needed
  --> $DIR/ambiguous_type_parameter.rs:16:19
   |
LL |     InMemoryStore.get_raw(&String::default());
   |                   ^^^^^^^
   |
help: try using a fully qualified path to specify the expected types
   |
LL |     <InMemoryStore as Store<String, HashMap<K, String>>>::get_raw(&InMemoryStore, &String::default());
   |     +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++             ~

error: aborting due to previous error

For more information about this error, try `rustc --explain E0282`.