fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
166 B9 linesraw
1// run-rustfix
2mod test {
3    pub const X: i32 = 123;
4    //~^ ERROR expected one of `!` or `::`, found keyword `const`
5}
6
7fn main() {
8    println!("{}", test::X);
9}