This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
df5c2cf9bc
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-26 16:54:25 -05: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-24 00:19:12 -05:00
// compile-flags: --cap-lints allow
#![
deny(warnings)
]
use
std
::
option
;
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink