fn main() { _ := [ // pre comment 6, // and after ] _ := [ 7, // below expr ] _ := [ 8, // I don't know why this still is a block comment 9, ] arr := [ // test 0 1, // test 1 2, // test 2 3, // 3 4, // 4-1 ] } fn only_comments_array() { _ := [] _ := [ // 1, // 2, // 3, ] _ := [ // whatever */ /* this is */ // 3, // 4, ] } fn mixed_comments() { _ := [ 3, // iembed // keep line comment here // and here 5, ] } fn keep_real_block_comment() { _ := [ 'foo', /* 'bar', 'baz', 'spam', */ 'eggs', ] }