about summary refs log tree commit diff
path: root/tests/ui/rfcs/rfc-1445-restrict-constants-in-patterns/cant-hide-behind-direct-struct-param.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-05-03 15:24:53 +0200
committerRalf Jung <post@ralfj.de>2024-05-03 15:56:59 +0200
commit179a6a08b127c7670ec648c245d8c31c6ac2419c (patch)
treeabd968e641e7e134599649ab366c36a0e9359dfc /tests/ui/rfcs/rfc-1445-restrict-constants-in-patterns/cant-hide-behind-direct-struct-param.rs
parent79734f1db8dbe322192dea32c0f6b80ab14c4c1d (diff)
downloadrust-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.rs1
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.