]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #104339 - compiler-errors:rustc_deny_explicit_impl, r=cjgillot
authorMatthias Krüger <matthias.krueger@famsik.de>
Tue, 15 Nov 2022 09:44:12 +0000 (10:44 +0100)
committerGitHub <noreply@github.com>
Tue, 15 Nov 2022 09:44:12 +0000 (10:44 +0100)
commit55ff8bf847cbd5c35d94f38484ad8ad18b851b42
treebd6db0db5717b60e6a6b98a6983e02b0fe899c02
parenta9b92151b024920d39010b73bf34a5ee68d08b64
parentb5b64678108f6c5460d9dcf8a415b3b8dc4d1a52
Rollup merge of #104339 - compiler-errors:rustc_deny_explicit_impl, r=cjgillot

Add `rustc_deny_explicit_impl`

Also adjust `E0322` error message to be more general, since it's used for `DiscriminantKind` and `Pointee` as well.

Also add `rustc_deny_explicit_impl` on the `Tuple` and `Destruct` marker traits.
compiler/rustc_feature/src/builtin_attrs.rs
compiler/rustc_span/src/symbol.rs