RPITITs may imply unsound outlives for late-bound args in signature #133427
Labels
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
C-bug
Category: This is a bug.
F-return_position_impl_trait_in_trait
`#![feature(return_position_impl_trait_in_trait)]`
I-unsound
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
P-high
High priority
T-types
Relevant to the types team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: Compilation failure.
Instead, this happened: Segfault due to UAF
Why?
See comment below.
Meta
rustc --version --verbose
:Not present on beta or stable.
The text was updated successfully, but these errors were encountered: