From 5bb562ad496f9ec42ec59abfe31d3576266c6a6d Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Mon, 22 Mar 2021 20:50:59 -0300 Subject: Initial commit --- tests/03-not-trait-impl.stderr | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/03-not-trait-impl.stderr (limited to 'tests/03-not-trait-impl.stderr') diff --git a/tests/03-not-trait-impl.stderr b/tests/03-not-trait-impl.stderr new file mode 100644 index 0000000..8206f00 --- /dev/null +++ b/tests/03-not-trait-impl.stderr @@ -0,0 +1,10 @@ +error: proc macro panicked + --> $DIR/03-not-trait-impl.rs:11:1 + | +11 | / impl_trait! { +12 | | impl Bar for Foo { +13 | | } +14 | | } + | |_^ + | + = help: message: impl_trait! may only be applied to inherent impls -- cgit 1.4.1