Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
lint
/
forbid-member-group.rs
blob: d1874aa81a53f5ee4b9088ca4c0d58f02c5af2a9 [
file
] [
log
] [
blame
]
// Check what happens when we forbid a member of
// a group but then allow the group.
#![
forbid
(
unused_variables
)]
#[
allow
(
unused
)]
//~^ ERROR incompatible with previous forbid
fn
main
()
{
let
a
:
();
}