]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-87490.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / issues / issue-87490.stderr
1 error[E0308]: mismatched types
2 --> $DIR/issue-87490.rs:9:5
3 |
4 LL | fn follow(_: &str) -> <&str as StreamOnce>::Position {
5 | ------------------------------ expected `usize` because of return type
6 LL | String::new
7 | ^^^^^^^^^^^ expected `usize`, found fn item
8 |
9 = note: expected type `usize`
10 found fn item `fn() -> String {String::new}`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.