rust/src/test/ui/parser/issue-30318.stderr

11 lines
274 B
Plaintext

error: expected outer doc comment
--> $DIR/issue-30318.rs:3:1
|
LL | //! Misplaced comment...
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items
error: aborting due to previous error