rust/tests/ui/dropck/dropck-only-error-ambiguity.stderr
Matthew Jasper 87e5969572 Update tests for dropck normalization errors
Takes crash tests from #135039, #103899, #91985 and #105299 and turns them into ui tests
2025-02-17 11:33:07 +00:00

12 lines
349 B
Plaintext

error[E0284]: type annotations needed
--> $DIR/dropck-only-error-ambiguity.rs:19:23
|
LL | pub fn MOVES_SELF(self) {}
| ^^^^ cannot infer type
|
= note: cannot satisfy `<[T] as ToOwned>::Owned == _`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0284`.