mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
12 lines
252 B
Rust
12 lines
252 B
Rust
//@ check-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() {}
|