]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-17551.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / issues / issue-17551.rs
CommitLineData
85aaf69f
SL
1use std::marker;
2
3struct B<T>(marker::PhantomData<T>);
223e47cc
LB
4
5fn main() {
8bb4bdeb 6 let foo = B(marker::PhantomData); //~ ERROR type annotations needed
85aaf69f 7 let closure = || foo;
223e47cc 8}