diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2021-03-22 20:50:59 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2021-03-22 20:52:47 -0300 |
commit | 5bb562ad496f9ec42ec59abfe31d3576266c6a6d (patch) | |
tree | 4c792fcc67d4211c6c5b4a0e18ebb832b0d4ce66 /tests/02-not-impl.stderr |
Initial commit
Diffstat (limited to 'tests/02-not-impl.stderr')
-rw-r--r-- | tests/02-not-impl.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/02-not-impl.stderr b/tests/02-not-impl.stderr new file mode 100644 index 0000000..a81e390 --- /dev/null +++ b/tests/02-not-impl.stderr @@ -0,0 +1,10 @@ +error: proc macro panicked + --> $DIR/02-not-impl.rs:5:1 + | +5 | / impl_trait! { +6 | | struct Foo { +7 | | } +8 | | } + | |_^ + | + = help: message: impl_trait! may only be applied to inherent impls |