1 2 3 4 5 6 7
fn /// document foo() {} //~^^ ERROR expected identifier, found doc comment `/// document` fn main() { foo(); }