This program:
pub trait MyTrait {
/// doc comment with nothing after it...
}
...signals the error:
oiseau:/tmp clements> rustc --test bar.rs
bar.rs:3:0: 3:1 error: unexpected token: `}`
bar.rs:3 }
^
This looks ilke a parser bug to me, but maybe it's deliberately illegal to have
a doc comment with nothing after it ?
John
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
