Remove attribute #[structural_match] and any references to it

This commit is contained in:
Vadim Petrochenkov
2020-03-24 21:52:22 +03:00
parent 2dcf54f564
commit 7332305305
21 changed files with 43 additions and 48 deletions

View File

@@ -2,7 +2,7 @@
//~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash
// Currently, const parameters cannot depend on type parameters, because there is no way to
// enforce the `structural_match` property on an arbitrary type parameter. This restriction
// enforce the structural-match property on an arbitrary type parameter. This restriction
// may be relaxed in the future. See https://github.com/rust-lang/rfcs/pull/2000 for more
// details.