]> git.proxmox.com Git - rustc.git/blame - src/test/ui/drop-bounds/drop-bounds.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / drop-bounds / drop-bounds.rs
CommitLineData
29967ef6
XL
1#![deny(drop_bounds)]
2fn foo<T: Drop>() {} //~ ERROR
3fn bar<U>()
4where
5 U: Drop, //~ ERROR
6{
7}
8fn baz(_x: impl Drop) {} //~ ERROR
9struct Foo<T: Drop> { //~ ERROR
10 _x: T
11}
12struct Bar<U> where U: Drop { //~ ERROR
13 _x: U
14}
15trait Baz: Drop { //~ ERROR
16}
17impl<T: Drop> Baz for T { //~ ERROR
18}
19fn main() {}