summaryrefslogtreecommitdiffstats
path: root/tests/ui/unsized-locals/unsized-exprs3.rs
blob: 2133b01e0948012df9068ee0a69cf6e9ef309ff4 (plain)
1
2
3
4
5
6
7
8
9
10
// aux-build:ufuncs.rs

extern crate ufuncs;

use ufuncs::udrop;

fn main() {
    udrop as fn([u8]);
    //~^ERROR E0277
}