-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Closed
Copy link
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.P-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Milestone
Description
[package]
name = "scratchpad"
version = "0.1.0"
[dependencies]
zvariant = "2.8.0"
fn main() {}
Results in:
error[E0161]: cannot move a value of type owned_value::OwnedValue: the size of owned_value::OwnedValue cannot be statically determined
--> /home/mara/.cargo/registry/src/github.com-1ecc6299db9ec823/zvariant-2.8.0/src/value.rs:174:21
|
174 | let o = OwnedValue::from(&**v);
| ^
error[E0161]: cannot move a value of type owned_value::OwnedValue: the size of owned_value::OwnedValue cannot be statically determined
--> /home/mara/.cargo/registry/src/github.com-1ecc6299db9ec823/zvariant-2.8.0/src/value.rs:175:39
|
175 | Value::Value(Box::new(o.into_inner()))
| ^
error[E0161]: cannot move a value of type owned_value::OwnedValue: the size of owned_value::OwnedValue cannot be statically determined
--> /home/mara/.cargo/registry/src/github.com-1ecc6299db9ec823/zvariant-2.8.0/src/owned_value.rs:197:9
|
197 | v.into_inner()
| ^
error[E0161]: cannot move a value of type owned_value::OwnedValue: the size of owned_value::OwnedValue cannot be statically determined
--> /home/mara/.cargo/registry/src/github.com-1ecc6299db9ec823/zvariant-2.8.0/src/owned_value.rs:214:12
|
214 | Ok(Value::deserialize(deserializer)?.into())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
But worked fine recently.
Version it worked on
rustc 1.57.0-nightly (9dd4ce80f 2021-09-17)
binary: rustc
commit-hash: 9dd4ce80fb01d1ff5cb5002f08b7b3847b59e664
commit-date: 2021-09-17
host: x86_64-unknown-linux-gnu
release: 1.57.0-nightly
LLVM version: 13.0.0
Version with regression
rustc 1.57.0-nightly (aa8f2d432 2021-09-18)
binary: rustc
commit-hash: aa8f2d432b23575929a48f87b8746f41ba723318
commit-date: 2021-09-18
host: x86_64-unknown-linux-gnu
release: 1.57.0-nightly
LLVM version: 13.0.0
zeenixlucab
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.P-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.