-
Notifications
You must be signed in to change notification settings - Fork 112
Closed
Description
With latest nightly toolchain:
cargo 1.75.0-nightly (65e297d1e 2023-11-03)
rustc 1.75.0-nightly (fee5518cd 2023-11-05)
There are several building errors like below:
error[E0308]: mismatched types
--> src/bitmap/mod.rs:54:14
|
54 | type S = Self;
| ^^^^ lifetime mismatch
|
= note: expected associated type `<() as WithBitmapSlice<'a>>::S`
found associated type `<() as WithBitmapSlice<'a>>::S`
note: the required lifetime does not necessarily outlive the lifetime `'a` as defined here
--> src/bitmap/mod.rs:53:6
|
53 | impl<'a> WithBitmapSlice<'a> for () {
| ^^
note: the lifetime requirement is introduced here
--> src/bitmap/mod.rs:22:13
|
22 | type S: BitmapSlice;
| ^^^^^^^^^^^
error[E0308]: mismatched types
--> src/bitmap/mod.rs:54:14
|
54 | type S = Self;
| ^^^^ lifetime mismatch
|
= note: expected associated type `<() as WithBitmapSlice<'a>>::S`
found associated type `<() as WithBitmapSlice<'a>>::S`
note: the lifetime `'a` as defined here doesn't meet the lifetime requirements
--> src/bitmap/mod.rs:53:6
|
53 | impl<'a> WithBitmapSlice<'a> for () {
| ^^
note: the lifetime requirement is introduced here
--> src/bitmap/mod.rs:22:13
|
22 | type S: BitmapSlice;
| ^^^^^^^^^^^
For more information about this error, try `rustc --explain E0308`.
error: could not compile `vm-memory` (lib) due to 2 previous errors
Metadata
Metadata
Assignees
Labels
No labels