summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-toml/type_complexity/type_complexity.rs
blob: b95f5134347dc11ea8340d2973ce32c8076809b9 (plain)
1
2
3
4
5
6
7
// 480
fn f(_: (u8, (u8, (u8, (u8, (u8, (u8,))))))) {}
// 550
fn f2(_: (u8, (u8, (u8, (u8, (u8, (u8, u8))))))) {}
//~^ ERROR: very complex type used

fn main() {}