]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #104348 - fmease:iat-vis-stab, r=cjgillot
authorMatthias Krüger <matthias.krueger@famsik.de>
Wed, 16 Nov 2022 07:36:11 +0000 (08:36 +0100)
committerGitHub <noreply@github.com>
Wed, 16 Nov 2022 07:36:11 +0000 (08:36 +0100)
commit3a8cacd7fb4e05df32bb5c94bfe650519bae993e
tree376f6c8291883f928e102ed134b7b2455f49afcf
parent88a19197b9f57b84a091c34d59c3d9ae72f03511
parent70ad2f53449995eb632eb9ef8f7740b34afb46b3
Rollup merge of #104348 - fmease:iat-vis-stab, r=cjgillot

Respect visibility & stability of inherent associated types

As discussed in #103621, this probably won't be the final location of the code that resolves inherent associated types. Still, I think it's valuable to push correctness fixes for this feature (in regards to visibility and stability).

Let me know if I should write a translatable diagnostic instead and if I should move the tests to `privacy/` and `stability-attribute/` respectively.

Fixes #104243.
````@rustbot```` label A-visibility F-inherent_associated_types
r? ````@cjgillot```` (since you reviewed #103621, feel free to reroll though)