summary refs log tree commit diff
path: root/src/test/compile-fail/empty-comment.rs
AgeCommit message (Collapse)AuthorLines
2016-09-30add println!() macro with out any arguments石博文-1/+5
2015-10-10Prevent `/**/` from being parsed as a doc commentBarosl Lee-0/+17
Previously, `/**/` was incorrectly regarded as a doc comment because it starts with `/**` and ends with `*/`. However, this caused an ICE because some code assumed that the length of a doc comment is at least 5. This commit adds an additional check to `is_block_doc_comment` that tests the length of the input. Fixes #28844.