]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-17904.rs
Auto merge of #96436 - petrochenkov:nowhole2, r=wesleywiser
[rust.git] / src / test / ui / issues / issue-17904.rs
1 // check-pass
2 #![allow(dead_code)]
3 // Test that we can parse where clauses on various forms of tuple
4 // structs.
5
6 // pretty-expanded FIXME #23616
7
8 struct Bar<T>(T) where T: Copy;
9 struct Bleh<T, U>(T, U) where T: Copy, U: Sized;
10 struct Baz<T> where T: Copy {
11     field: T
12 }
13
14 fn main() {}