Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
master
rust/tests/run-make/exit-code/lint-failure.rs

7 lines
107 B
Rust
Raw Permalink Normal View History

intra_doc_resolution_failures -> broken_intra_doc_links
2020-07-30 10:38:55 -07:00
#![deny(broken_intra_doc_links)]
rustc: distinguish compilation failure from ICE This commit changes the exit status of rustc to 1 in the presence of compilation errors. In the event of an unexpected panic (ICE) the standard panic error exit status of 101 remains. A run-make test is added to ensure that the exit code does not regress, and compiletest is updated to check for an exit status of 1 or 101, depending on the mode and suite. This is a breaking change for custom drivers. Fixes #51971.
2018-07-09 14:01:10 -04:00
/// [intradoc::failure]
fix exit-code test so the lint fires again
2018-08-03 18:17:45 -05:00
pub fn main() {
rustc: distinguish compilation failure from ICE This commit changes the exit status of rustc to 1 in the presence of compilation errors. In the event of an unexpected panic (ICE) the standard panic error exit status of 101 remains. A run-make test is added to ensure that the exit code does not regress, and compiletest is updated to check for an exit status of 1 or 101, depending on the mode and suite. This is a breaking change for custom drivers. Fixes #51971.
2018-07-09 14:01:10 -04:00
println!("Hello, world!");
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1198ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API