Re:Unsoundness in Pin
by Rusky on Friday November 29, 2019 @11:55AM
(#21665401)
No, it's bits of valid syntax thrown together informally to express an idea. There is no `!:` in Rust, and that `for` quantification never applies to types or bounds that way.
[ Parent
| on HN ]
Re:Unsoundness in Pin
by withoutboats on Friday November 29, 2019 @01:12PM
(#21665881)
(and the idea I was expressing was "shared references never under any circumstance implement the DerefMut trait")
`for` used in a bound (in conjunction with a lifetime) is the syntax for Higher-Rank Trait Bounds (HRTB):