This repository was archived by the owner on May 23, 2024. It is now read-only.
Commit 483b66c
committed
ices/68295.rs: fixed with errors
=== stdout ===
=== stderr ===
error[E0308]: mismatched types
--> /home/runner/work/glacier/glacier/ices/68295.rs:41:5
|
37 | pub fn crash<R, C>(input: Matrix<R, C, ()>) -> Matrix<R, C, u32>
| ----------------- expected `Matrix<R, C, u32>` because of return type
...
41 | input.into_owned()
| ^^^^^^^^^^^^^^^^^^ expected `u32`, found associated type
|
= note: expected struct `Matrix<_, _, u32>`
found struct `Matrix<_, _, <() as Allocator<R, C>>::Buffer>`
= help: consider constraining the associated type `<() as Allocator<R, C>>::Buffer` to `u32`
= note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
==============1 parent bc45e19 commit 483b66c
1 file changed
+0
-0
lines changedFile renamed without changes.
0 commit comments