2018-08-30 14:18:55 +02:00
|
|
|
// run-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(unused_variables)]
|
2015-07-19 15:46:57 -04:00
|
|
|
#![feature(box_syntax)]
|
|
|
|
|
2022-07-25 22:36:03 +02:00
|
|
|
struct Node<T: ?Sized>(#[allow(unused_tuple_struct_fields)] T);
|
2015-07-19 15:46:57 -04:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let x: Box<Node<[isize]>> = box Node([]);
|
|
|
|
}
|