Move generic arg/param validation to `create_substs_for_generic_args` to resolve various const generics issues This changes some diagnostics, but I think they're around as helpful as the previous ones, and occur infrequently regardless. Fixes https://github.com/rust-lang/rust/issues/68257. Fixes https://github.com/rust-lang/rust/issues/68398. r? @eddyb |
||
|---|---|---|
| .. | ||
| error_codes | ||
| Cargo.toml | ||
| error_codes.rs | ||
| lib.rs | ||