Sign in
android
/
toolchain
/
rustc
/
2f3fdfeb95384b9046ea35b3532e23c652eca660
/
.
/
src
/
test
/
ui
/
lint
/
force-warn
/
force-allowed-deny-by-default-lint.rs
blob: 0abc49137269d93e6a7f5d0d9a8e472e3b0e6e1b [
file
] [
log
] [
blame
]
// compile-flags: --force-warns const_err -Zunstable-options
// check-pass
#![
allow
(
const_err
)]
const
C
:
i32
=
1
/
0
;
//~^ WARN any use of this value will cause an error
//~| WARN this was previously accepted by the compiler
fn
main
()
{}