diff --git a/src/test/run-make-fulldeps/exit-code/lint-failure.rs b/src/test/run-make-fulldeps/exit-code/lint-failure.rs index 3bf40b753c1..910abfd5d7e 100644 --- a/src/test/run-make-fulldeps/exit-code/lint-failure.rs +++ b/src/test/run-make-fulldeps/exit-code/lint-failure.rs @@ -11,6 +11,6 @@ #![deny(intra_doc_link_resolution_failure)] /// [intradoc::failure] -fn main() { +pub fn main() { println!("Hello, world!"); }