2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(unused_variables)]
|
2015-07-19 14:46:57 -05:00
|
|
|
|
2022-07-25 15:36:03 -05:00
|
|
|
struct Node<T: ?Sized>(#[allow(unused_tuple_struct_fields)] T);
|
2015-07-19 14:46:57 -05:00
|
|
|
|
|
|
|
fn main() {
|
2022-07-06 21:36:10 -05:00
|
|
|
let x: Box<Node<[isize]>> = Box::new(Node([]));
|
2015-07-19 14:46:57 -05:00
|
|
|
}
|