]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/failed-doctest-extra-semicolon-on-item.stdout
Rollup merge of #105784 - yanns:update_stdarch, r=Amanieu
[rust.git] / tests / rustdoc-ui / failed-doctest-extra-semicolon-on-item.stdout
1
2 running 1 test
3 test $DIR/failed-doctest-extra-semicolon-on-item.rs - m (line 11) ... FAILED
4
5 failures:
6
7 ---- $DIR/failed-doctest-extra-semicolon-on-item.rs - m (line 11) stdout ----
8 error: expected item, found `;`
9   --> $DIR/failed-doctest-extra-semicolon-on-item.rs:12:12
10    |
11 LL | struct S {}; // unexpected semicolon after struct def
12    |            ^ help: remove this semicolon
13    |
14    = help: braced struct declarations are not followed by a semicolon
15
16 error: aborting due to previous error
17
18 Couldn't compile the test.
19
20 failures:
21     $DIR/failed-doctest-extra-semicolon-on-item.rs - m (line 11)
22
23 test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
24