2024-04-06 23:34:46 +02:00
|
|
|
// ICE Unexpected unsized type tail: &ReStatic [u8]
|
|
|
|
|
// issue: rust-lang/rust#122488
|
|
|
|
|
use std::ops::Deref;
|
|
|
|
|
|
|
|
|
|
struct ArenaSet<U: Deref, V: ?Sized = <U as Deref>::Target>(V, U);
|
|
|
|
|
//~^ ERROR the size for values of type `V` cannot be known at compilation time
|
|
|
|
|
|
|
|
|
|
const DATA: *const ArenaSet<Vec<u8>> = std::ptr::null_mut();
|
2025-01-06 11:39:07 +01:00
|
|
|
//~^ ERROR evaluation of constant value failed
|
2024-04-06 23:34:46 +02:00
|
|
|
|
|
|
|
|
pub fn main() {}
|