diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-17732.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-17732.rs b/src/test/ui/issues/issue-17732.rs new file mode 100644 index 000000000..8f63d5bae --- /dev/null +++ b/src/test/ui/issues/issue-17732.rs @@ -0,0 +1,13 @@ +// check-pass +#![allow(dead_code)] +#![allow(non_camel_case_types)] +// pretty-expanded FIXME #23616 + +trait Person { + type string; + fn dummy(&self) { } +} + +struct Someone<P: Person>(std::marker::PhantomData<P>); + +fn main() {} |