rust/src/test/ui/issues/issue-24819.stderr

13 lines
433 B
Plaintext
Raw Normal View History

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`
|
= 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`.