]> git.lizzy.rs Git - rust.git/commitdiff
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)
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.

1  2 
compiler/rustc_feature/src/builtin_attrs.rs
compiler/rustc_span/src/symbol.rs

Simple merge