diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-2311.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-2311.rs b/src/test/ui/issues/issue-2311.rs new file mode 100644 index 000000000..21ff19f7f --- /dev/null +++ b/src/test/ui/issues/issue-2311.rs @@ -0,0 +1,11 @@ +// check-pass +#![allow(non_camel_case_types)] + +// pretty-expanded FIXME #23616 + +trait clam<A> { fn get(self) -> A; } +trait foo<A> { + fn bar<B,C:clam<A>>(&self, c: C) -> B; +} + +pub fn main() { } |