We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bef579 commit 69bf389Copy full SHA for 69bf389
src/test/run-pass/associated-const-marks-live-code.rs
@@ -20,6 +20,6 @@ impl Foo {
20
const BAR: u32 = GLOBAL_BAR;
21
}
22
23
-fn main() {
+pub fn main() {
24
let _: u32 = Foo::BAR;
25
0 commit comments