mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-17 07:48:55 +00:00
14 lines
263 B
Rust
14 lines
263 B
Rust
// Regression test for #88586: a higher-ranked outlives bound on Self in a trait
|
|
// definition caused an ICE when debug_assertions were enabled.
|
|
//
|
|
// Made to pass as part of fixing #98095.
|
|
//
|
|
//@ check-pass
|
|
|
|
trait A where
|
|
for<'a> Self: 'a,
|
|
{
|
|
}
|
|
|
|
fn main() {}
|