error[E0308]: mismatched types --> $DIR/disambiguate-identical-names.rs:13:10 | LL | test(&v); | ---- ^^ expected `&Vec>`, found `&HashMap` | | | arguments to this function are incorrect | = note: expected reference `&std::vec::Vec>` found reference `&HashMap` note: function defined here --> $DIR/disambiguate-identical-names.rs:6:4 | LL | fn test(_v: &Vec>) { | ^^^^ ------------------ error: aborting due to previous error For more information about this error, try `rustc --explain E0308`.