Files
littlefs2/tests/ui/sync-fail.stderr

18 lines
739 B
Plaintext

error[E0308]: mismatched types
--> $DIR/sync-fail.rs:71:15
|
71 | file.sync(&mut other_fs, &mut other_storage).unwrap();
| ^^^^^^^^^^^^^ expected struct `RamStorage`, found struct `OtherRamStorage`
|
= note: expected type `&mut littlefs2::fs::Filesystem<'_, RamStorage<'_>>`
found type `&mut littlefs2::fs::Filesystem<'_, OtherRamStorage<'_>>`
error[E0308]: mismatched types
--> $DIR/sync-fail.rs:71:30
|
71 | file.sync(&mut other_fs, &mut other_storage).unwrap();
| ^^^^^^^^^^^^^^^^^^ expected struct `RamStorage`, found struct `OtherRamStorage`
|
= note: expected type `&mut RamStorage<'_>`
found type `&mut OtherRamStorage<'_>`