blob: cca06c573e0877201861980d9cfa86e126a347a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// compile-pass
#![allow(dead_code)]
// #34751 ICE: 'rustc' panicked at 'assertion failed: !substs.has_regions_escaping_depth(0)'
#[allow(dead_code)]
use std::marker::PhantomData;
fn f<'a>(PhantomData::<&'a u8>: PhantomData<&'a u8>) {}
fn main() {}
|