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
2
Packages
Projects
Releases
Wiki
Activity
Files
901b340c1f5d208561d4261cc3ee634973b35326
rust
/
tests
/
ui
/
lint
/
bad-lint-cap.rs
5 lines
96 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ compile-flags: --cap-lints test
//@ error-pattern: unknown lint level: `test`
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
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink