about summary refs log tree commit diff
path: root/tests/ui/associated-type-bounds/nested-associated-type-bound-incompleteness.stderr
blob: c77400f3822803232f34a21fe3b4f1d43c9d7c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[E0308]: mismatched types
  --> $DIR/nested-associated-type-bound-incompleteness.rs:24:21
   |
LL |     drop::<Vec<u8>>(vec_u);
   |     --------------- ^^^^^ expected `Vec<u8>`, found `Vec<u32>`
   |     |
   |     arguments to this function are incorrect
   |
   = note: expected struct `Vec<u8>`
              found struct `Vec<u32>`
note: function defined here
  --> $SRC_DIR/core/src/mem/mod.rs:LL:COL

error: aborting due to 1 previous error

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