about summary refs log tree commit diff
path: root/compiler/rustc_resolve
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-06-22 08:49:04 +0200
committerGitHub <noreply@github.com>2025-06-22 08:49:04 +0200
commit431a8229381ba69360f853a5bbb26a69e1fb4cee (patch)
treeb5dd27c961352f615deaed69cff0450e1f3c4d31 /compiler/rustc_resolve
parentaef8a76ce0a7f779e9b89c6fd46335280878a079 (diff)
parentd86d3f3742caad06488a1bf1d7eb045606f95cdd (diff)
downloadrust-431a8229381ba69360f853a5bbb26a69e1fb4cee.tar.gz
rust-431a8229381ba69360f853a5bbb26a69e1fb4cee.zip
Rollup merge of #142600 - GrigorenkoPV:attributes/rustc_pub_transparent, r=jdonszelmann
Port `#[rustc_pub_transparent]` to the new attribute system

Very similar to rust-lang/rust#142498.

This is a part of rust-lang/rust#131229, so
r? ````@jdonszelmann````

---

For reference, the `#[rustc_pub_transparent]` attribute was created by me back in rust-lang/rust#129487.

As mentioned back in https://github.com/rust-lang/rust/pull/129487#discussion_r1730120385, this attribute does not check that it is applied to an ADT, because it checks that `#[repr(transparent)]` is also applied to the same item, which, in turn, should check for ADT.
Diffstat (limited to 'compiler/rustc_resolve')
0 files changed, 0 insertions, 0 deletions