summary refs log tree commit diff
path: root/tests/ui/sized-hierarchy/incomplete-inference-issue-143992.next.stderr
blob: cf56f42afc8a3818375028fb6a2c174edc891b8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error[E0308]: mismatched types
  --> $DIR/incomplete-inference-issue-143992.rs:27:28
   |
LL |     let _x = T::Assoc::new(());
   |              ------------- ^^ expected `[u32; 1]`, found `()`
   |              |
   |              arguments to this function are incorrect
   |
note: associated function defined here
  --> $DIR/incomplete-inference-issue-143992.rs:18:8
   |
LL |     fn new(r: R) -> R {
   |        ^^^ ----

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0308`.