rust/compiler/rustc_parse/src
Matthias Krüger c8780fff6a
Rollup merge of #143403 - GrigorenkoPV:attributes/traits, r=jdonszelmann
Port several trait/coherence-related attributes the new attribute system

Part of rust-lang/rust#131229

This ports:
- `#[const_trait]`
- `#[rustc_deny_explicit_impl]`
- `#[rustc_do_not_implement_via_object]`
- `#[rustc_coinductive]`
- `#[type_const]`
- `#[rustc_specialization_trait]`
- `#[rustc_unsafe_specialization_marker]`
- `#[marker]`
- `#[fundamental]`
- `#[rustc_paren_sugar]`
- `#[rustc_allow_incoherent_impl]`
- `#[rustc_coherence_is_core]`

This also changes `#[marker]` to error on duplicates instead of warning.
cc rust-lang/rust#142838, but I don't think it matters too much, since it's unstable.

r? ``@oli-obk``
2025-07-11 19:45:22 +02:00
..
lexer update to literal-escaper 0.0.4 for better API without unreachable and faster string parsing 2025-06-23 06:36:22 +00:00
parser Remove uncessary parens in closure body with unused lint 2025-07-10 09:25:56 +08:00
errors.rs Remove let_chains feature 2025-06-30 07:49:20 -05:00
lib.rs Remove unused allow attrs 2025-07-07 12:58:16 +00:00
validate_attr.rs Port #[rustc_coherence_is_core] to the new attribute system 2025-07-09 01:26:39 +03:00