blob: e3f80fc1d9f0637109fb59e7a2812b53c215c272 (
plain)
1
2
3
4
5
6
7
8
|
// Ensure that we forbid parenthesized use-bounds. In the future we might want
// to lift this restriction but for now they bear no use whatsoever.
fn f() -> impl Sized + (use<>) {}
//~^ ERROR precise capturing lists may not be parenthesized
//~| HELP remove the parentheses
fn main() {}
|