diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/span/E0046.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/span/E0046.rs b/src/test/ui/span/E0046.rs new file mode 100644 index 000000000..961109892 --- /dev/null +++ b/src/test/ui/span/E0046.rs @@ -0,0 +1,11 @@ +trait Foo { + fn foo(); +} + +struct Bar; + +impl Foo for Bar {} +//~^ ERROR E0046 + +fn main() { +} |