]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-17732.rs
Rollup merge of #106896 - Ezrashaw:str-cast-bool-emptyness, r=compiler-errors
[rust.git] / tests / ui / issues / issue-17732.rs
1 // check-pass
2 #![allow(dead_code)]
3 #![allow(non_camel_case_types)]
4 // pretty-expanded FIXME #23616
5
6 trait Person {
7     type string;
8     fn dummy(&self) { }
9 }
10
11 struct Someone<P: Person>(std::marker::PhantomData<P>);
12
13 fn main() {}