]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/nocapture-fail.stderr
Rollup merge of #100206 - RalfJung:miri-terminfo, r=thomcc
[rust.git] / src / test / rustdoc-ui / nocapture-fail.stderr
1 error: struct literal body without path
2   --> $DIR/nocapture-fail.rs:8:10
3    |
4 LL |   fn foo() {
5    |  __________^
6 LL | |     Input: 123
7 LL | | }
8    | |_^
9    |
10 help: you might have forgotten to add the struct literal inside the block
11    |
12 LL ~ fn foo() { SomeStruct {
13 LL |     Input: 123
14 LL ~ } }
15    |
16
17 error: aborting due to previous error
18