2018-07-15 14:11:54 -07:00
|
|
|
error[E0308]: mismatched types
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-24819.rs:5:9
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
|
|
|
LL | foo(&mut v);
|
|
|
|
| ^^^^^^ expected struct `std::collections::HashSet`, found struct `std::vec::Vec`
|
|
|
|
|
|
2019-11-13 14:16:56 -08:00
|
|
|
= note: expected mutable reference `&mut std::collections::HashSet<u32>`
|
|
|
|
found mutable reference `&mut std::vec::Vec<_>`
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|