You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…solve `<T as Trait>::AssocT` projections (rust-lang#14125)
changelog: [`declare_interior_mutable_const`,
`borrow_interior_mutable_const`]: resolve `<T as Trait>::AssocT`
projections
---
This came up during rust-lang#130543 where
we have `<T as AtomicPrimitive>::Assoc = AtomicT` instead of just
`AtomicT` and clippy failed to resolve that properly.
This really needs a review, because
- I don't know if `try_normalize_erasing_regions` is the right thing to
call here.
- I'm not sure if I peel off the correct amount of `ValTree::Branch`
layers (I think I do).
Also, shouldn't this lint's infrastructure rely on `Freeze` trait
(rust-lang#121675) instead of hardcoding
a list of known-to-be-interior-mutable types?
---
Previously filed this in the main rust repo
(rust-lang#136369), was asked to do it here
instead
(rust-lang#136369 (comment)).
For example,
PostgresRows
implementsIterator
, but that fact has stopped showing up in its documentation: http://sfackler.github.io/rust-postgres/doc/postgres/struct.PostgresRows.htmlThe text was updated successfully, but these errors were encountered: