Files
neon/pageserver
Christian Schwarz f3e1ae6740 try (and fail) to implement borrowed deserialize of Value
(neon-_e02wX9z-py3.9) admin@ip-172-31-13-23:[~/neon-main]: cargo lcheck  --features testing
    Checking pageserver v0.1.0 (/home/admin/neon-main/pageserver)
    Building [=======================> ] 716/721: pageserver
error: implementation of `Deserialize` is not general enough
   --> pageserver/src/tenant/storage_layer/inmemory_layer.rs:179:29
    |
179 |                 let value = ValueDe::des(&reconstruct_state.scratch)?;
    |                             ^^^^^^^^^^^^ implementation of `Deserialize` is not general enough
    |
    = note: `ValueDe<'_>` must implement `Deserialize<'0>`, for any lifetime `'0`...
    = note: ...but `ValueDe<'_>` actually implements `Deserialize<'1>`, for some specific lifetime `'1`

error: implementation of `Deserialize` is not general enough
   --> pageserver/src/tenant/storage_layer/delta_layer.rs:792:23
    |
792 |             let val = ValueDe::des(&reconstruct_state.scratch).with_context(|| {
    |                       ^^^^^^^^^^^^ implementation of `Deserialize` is not general enough
    |
    = note: `ValueDe<'_>` must implement `Deserialize<'0>`, for any lifetime `'0`...
    = note: ...but `ValueDe<'_>` actually implements `Deserialize<'1>`, for some specific lifetime `'1`
2024-01-30 10:43:24 +00:00
..
2024-01-29 18:22:00 +00:00
2023-11-28 12:50:53 -05:00