diff options
Diffstat (limited to 'tests/pretty/empty-impl.rs')
-rw-r--r-- | tests/pretty/empty-impl.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pretty/empty-impl.rs b/tests/pretty/empty-impl.rs new file mode 100644 index 000000000..d57093359 --- /dev/null +++ b/tests/pretty/empty-impl.rs @@ -0,0 +1,7 @@ +// compile-flags: --crate-type=lib + +trait X { fn dummy(&self) { } } +impl X for usize { } + +trait Y { fn dummy(&self) { } } +impl Y for usize { } |