You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my rustc version:
rustc 1.66.0-nightly (0da281b60 2022-10-27)
error[E0277]: the trait bound `String: Deref` is not satisfied
--> qmetaobject/src/qmetatype.rs:438:87
|
438 | const CONVERSION_TO_STRING: Option<fn(&Self) -> QString> = Some(|s| QString::from(&*s as &str));
| ^^^ the trait `~const Deref` is not implemented for `String`
|
note: the trait `Deref` is implemented for `String`, but that implementation is not `const`
--> qmetaobject/src/qmetatype.rs:438:87
|
438 | const CONVERSION_TO_STRING: Option<fn(&Self) -> QString> = Some(|s| QString::from(&*s as &str));
| ^^^
For more information about this error, try `rustc --explain E0277`.
my rustc version:
rustc 1.66.0-nightly (0da281b60 2022-10-27)
I try to fix the issuse, it's work.
The text was updated successfully, but these errors were encountered: