rust/tests/ui/privacy/auxiliary
David Wood 5d97724002
privacy: visit trait def id of projections
A refactoring in #117076 changed the `DefIdVisitorSkeleton` to avoid
calling `visit_projection_ty` for `ty::Projection` aliases, and instead
just iterate over the args - this makes sense, as `visit_projection_ty`
will indirectly visit all of the same args, but in doing so, will also
create a `TraitRef` containing the trait's `DefId`, which also gets
visited. The trait's `DefId` isn't visited when we only visit the
arguments without separating them into `TraitRef` and own args first.

Signed-off-by: David Wood <david@davidtw.co>
2023-12-08 14:26:03 +00:00
..
cci_class_5.rs
cci_class.rs
ctor_aux.rs
impl_privacy_xc_2.rs
issue-17718-const-privacy.rs
issue-57264-1.rs
issue-57264-2.rs
issue-75907.rs
issue-92755.rs
issue-117997.rs
priv-impl-prim-ty.rs
privacy_reexport.rs
privacy_tuple_struct.rs
private-inferred-type.rs
pub_use_mods_xcrate.rs
pub_use_xcrate1.rs
pub_use_xcrate2.rs
reachable-unnameable-items.rs
xc-private-method-lib.rs