rust/tests/ui/traits/new-solver/alias-bound-unsound.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
404 B
Plaintext
Raw Normal View History

2023-06-27 23:13:50 +02:00
error: the type `&<() as Foo>::Item` is not well-formed
--> $DIR/alias-bound-unsound.rs:23:31
|
LL | drop(<() as Foo>::copy_me(&x));
2023-06-27 23:13:50 +02:00
| ^^
2023-06-23 16:26:22 +00:00
error: the type `<() as Foo>::Item` is not well-formed
--> $DIR/alias-bound-unsound.rs:23:10
|
LL | drop(<() as Foo>::copy_me(&x));
| ^^^^^^^^^^^^^^^^^^^^^^^^
2023-06-27 23:13:50 +02:00
error: aborting due to 2 previous errors