]> git.proxmox.com Git - rustc.git/blame - src/test/ui/suggestions/issue-53692.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / suggestions / issue-53692.stderr
CommitLineData
b7449926 1error[E0308]: mismatched types
064997fb 2 --> $DIR/issue-53692.rs:7:33
b7449926 3 |
064997fb
FG
4LL | let items_clone: Vec<i32> = ref_items.clone();
5 | -------- ^^^^^^^^^^-----^^
6 | | | |
7 | | | help: try using a conversion method: `to_vec`
8 | | expected struct `Vec`, found `&[i32]`
9 | expected due to this
b7449926 10 |
1b1a35ee 11 = note: expected struct `Vec<i32>`
60c5eb7d 12 found reference `&[i32]`
b7449926
XL
13
14error[E0308]: mismatched types
064997fb 15 --> $DIR/issue-53692.rs:14:26
b7449926 16 |
064997fb
FG
17LL | let string: String = s.clone();
18 | ------ ^^-----^^
19 | | | |
20 | | | help: try using a conversion method: `to_string`
21 | | expected struct `String`, found `&str`
22 | expected due to this
b7449926
XL
23
24error: aborting due to 2 previous errors
25
26For more information about this error, try `rustc --explain E0308`.