rust/tests/target/issue-2917/minimal.rs
Stéphane Campinas 5fdb6db136
Prevent right-shifting of block comments with bare lines.
Lines that didn't start with a comment sigil were returned unchanged in
comment::rewrite_comment. Then these unchanged lines were indented in
MacroBranch::rewrite.
2018-09-22 00:09:11 +02:00

9 lines
82 B
Rust

macro_rules! foo {
() => {
// comment
/*
*/
};
}