summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-23491.rs
blob: e5f9dd3efbd2a3df3c253c8d67100a3587f5ff6b (plain)
1
2
3
4
5
6
7
8
// run-pass
#![allow(unused_variables)]

struct Node<T: ?Sized>(#[allow(unused_tuple_struct_fields)] T);

fn main() {
    let x: Box<Node<[isize]>> = Box::new(Node([]));
}