diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-19129-2.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-19129-2.rs b/src/test/ui/issues/issue-19129-2.rs new file mode 100644 index 000000000..991d79d41 --- /dev/null +++ b/src/test/ui/issues/issue-19129-2.rs @@ -0,0 +1,11 @@ +// check-pass +#![allow(unused_variables)] +// pretty-expanded FIXME #23616 + +trait Trait<Input> { + type Output; + + fn method(&self, i: Input) -> bool { false } +} + +fn main() {} |