summaryrefslogtreecommitdiffstats
path: root/tests/ui/span/multiline-span-E0072.rs
blob: 728b47d6539e98513c73a3478120e77e764a6481 (plain)
1
2
3
4
5
6
7
8
9
10
// It should just use the entire body instead of pointing at the next two lines
struct //~ ERROR has infinite size
ListNode
{
    head: u8,
    tail: Option<ListNode>,
}

fn main() {
}