mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-24 12:54:00 +00:00
8 lines
191 B
Rust
8 lines
191 B
Rust
![]() |
fn foo() { }
|
||
|
|
||
|
//! Misplaced comment...
|
||
|
//~^ ERROR expected outer doc comment
|
||
|
//~| NOTE inner doc comments like this (starting with `//!` or `/*!`) can only appear before items
|
||
|
|
||
|
fn main() { }
|