Skip to content

Commit 69bf389

Browse files
committed
Workaround false positive error from pretty print test.
1 parent 2bef579 commit 69bf389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/associated-const-marks-live-code.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ impl Foo {
2020
const BAR: u32 = GLOBAL_BAR;
2121
}
2222

23-
fn main() {
23+
pub fn main() {
2424
let _: u32 = Foo::BAR;
2525
}

0 commit comments

Comments
 (0)