blob: 33034b7072bccadc8bad048602bb54603731027d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
error[E0308]: mismatched types
--> $DIR/issue-24819.rs:15:9
|
LL | foo(&mut v);
| ^^^^^^ expected struct `std::collections::HashSet`, found struct `std::vec::Vec`
|
= note: expected type `&mut std::collections::HashSet<u32>`
found type `&mut std::vec::Vec<_>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
|