diff options
| author | Ralf Jung <post@ralfj.de> | 2024-05-03 15:24:53 +0200 | 
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-05-03 15:56:59 +0200 | 
| commit | 179a6a08b127c7670ec648c245d8c31c6ac2419c (patch) | |
| tree | abd968e641e7e134599649ab366c36a0e9359dfc /tests/ui/rfcs/rfc-1445-restrict-constants-in-patterns/cant-hide-behind-direct-struct-param.rs | |
| parent | 79734f1db8dbe322192dea32c0f6b80ab14c4c1d (diff) | |
| download | rust-179a6a08b127c7670ec648c245d8c31c6ac2419c.tar.gz rust-179a6a08b127c7670ec648c245d8c31c6ac2419c.zip | |
remove IndirectStructuralMatch lint, emit the usual hard error instead
Diffstat (limited to 'tests/ui/rfcs/rfc-1445-restrict-constants-in-patterns/cant-hide-behind-direct-struct-param.rs')
| -rw-r--r-- | tests/ui/rfcs/rfc-1445-restrict-constants-in-patterns/cant-hide-behind-direct-struct-param.rs | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/tests/ui/rfcs/rfc-1445-restrict-constants-in-patterns/cant-hide-behind-direct-struct-param.rs b/tests/ui/rfcs/rfc-1445-restrict-constants-in-patterns/cant-hide-behind-direct-struct-param.rs index 112021c783f..f840b4040b6 100644 --- a/tests/ui/rfcs/rfc-1445-restrict-constants-in-patterns/cant-hide-behind-direct-struct-param.rs +++ b/tests/ui/rfcs/rfc-1445-restrict-constants-in-patterns/cant-hide-behind-direct-struct-param.rs @@ -4,7 +4,6 @@ // through that we had intended to reject. // // See discussion on rust-lang/rust#62307 and rust-lang/rust#62339 -#![warn(indirect_structural_match)] struct NoDerive(i32); // This impl makes NoDerive irreflexive. | 
