diff options
Diffstat (limited to 'tests/ui/associated-types/associated-types-issue-17359.stderr')
-rw-r--r-- | tests/ui/associated-types/associated-types-issue-17359.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/associated-types/associated-types-issue-17359.stderr b/tests/ui/associated-types/associated-types-issue-17359.stderr new file mode 100644 index 000000000..9e40d8095 --- /dev/null +++ b/tests/ui/associated-types/associated-types-issue-17359.stderr @@ -0,0 +1,12 @@ +error[E0046]: not all trait items implemented, missing: `Type` + --> $DIR/associated-types-issue-17359.rs:8:1 + | +LL | type Type; + | --------- `Type` from trait +... +LL | impl Trait for isize {} + | ^^^^^^^^^^^^^^^^^^^^ missing `Type` in implementation + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0046`. |