2025-07-16 10:56:32 +00:00
|
|
|
error[E0308]: mismatched types
|
2025-07-20 17:44:55 +00:00
|
|
|
--> $DIR/incomplete-inference-issue-143992.rs:30:28
|
2025-07-16 10:56:32 +00:00
|
|
|
|
|
|
|
|
|
LL | let _x = T::Assoc::new(());
|
|
|
|
|
| ------------- ^^ expected `[u32; 1]`, found `()`
|
|
|
|
|
| |
|
|
|
|
|
| arguments to this function are incorrect
|
|
|
|
|
|
|
|
|
|
|
note: associated function defined here
|
2025-07-20 17:44:55 +00:00
|
|
|
--> $DIR/incomplete-inference-issue-143992.rs:21:8
|
2025-07-16 10:56:32 +00:00
|
|
|
|
|
|
|
|
|
LL | fn new(r: R) -> R {
|
|
|
|
|
| ^^^ ----
|
|
|
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|