]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/force-warn/cap-lints-warn-allowed-warn-by-default-lint.rs
1 // --force-warn $LINT_GROUP causes $LINT to warn despite $LINT being
2 // allowed in module and cap-lints set to warn
3 // compile-flags: --cap-lints warn --force-warn rust-2021-compatibility
5 #![allow(ellipsis_inclusive_range_patterns)]
11 //~^ WARN range patterns are deprecated
12 //~| WARN this is accepted in the current edition