]> git.proxmox.com Git - rustc.git/blame - src/test/ui/typeck/issue-67971.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / typeck / issue-67971.stderr
CommitLineData
f9f354fc
XL
1error[E0609]: no field `sleep` on type `&mut S`
2 --> $DIR/issue-67971.rs:5:9
3 |
4LL | ctx.sleep = 0;
5 | ^^^^^ unknown field
6
7error[E0308]: mismatched types
8 --> $DIR/issue-67971.rs:3:24
9 |
10LL | fn foo(ctx: &mut S) -> String {
1b1a35ee 11 | --- ^^^^^^ expected struct `String`, found `()`
f9f354fc
XL
12 | |
13 | implicitly returns `()` as its body has no tail or `return` expression
14
15error: aborting due to 2 previous errors
16
17Some errors have detailed explanations: E0308, E0609.
18For more information about an error, try `rustc --explain E0308`.