This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
5b51a8ef4f0fc5a4ba1fce1e16cea844f4f2e9a9
rust
/
tests
/
ui
/
lint
/
lint-cap.rs
9 lines
100 B
Rust
Raw
Normal View
History
Unescape
Escape
tests: Add missing run-pass annotations
2019-07-27 00:54:25 +03:00
// run-pass
rustc: Add a --cap-lints flag to the compiler This commit is an implementation of [RFC 1193][rfc] which adds the ability to the compiler to cap the lint level for the entire compilation session. This flag will ensure that no lints will go above this level, and Cargo will primarily use this flag passing `--cap-lints allow` to all upstream dependencies. [rfc]: https://github.com/rust-lang/rfcs/pull/1193 Closes #27259
2015-07-23 22:19:12 -07:00
// compile-flags: --cap-lints allow
#![
deny(warnings)
]
use
std
::
option
;
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink