rust/tests/target/issue-4427.rs

31 lines
536 B
Rust

const A: usize =
// Some constant
2;
const B: usize =
/* constant */
3;
const C: usize = /* foo */ 5;
const D: usize = // baz
/* Some constant */
/* ba */
{
3
// foo
};
const E: usize = /* foo */ 5;
const F: usize = { 7 };
const G: usize =
/* foooooooooooooooooooooooooooooooooooooooooooooooooooooooo0000000000000000xx00 */
5;
const H: usize = /* asdfasdf */
match G > 1 {
true => 1,
false => 3,
};
pub static FOO_BAR: Vec<u8> = //f
{ vec![] };