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
[dependencies.windows]
version = "0.34.0"features = [
"alloc",
"implement",
"Win32_System_WinRT",
]
Expected behavior
No compiler errors.
Actual behavior
There are 90 errors, but they're all variations on these:
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
--> C:\...\.cargo\registry\src\github.com-1ecc6299db9ec823\windows-0.34.0\src\Windows\Win32\System\WinRT\impl.rs:939:63
|
939 | pub const fn new<Identity: ::windows::core::IUnknownImpl, Impl: IWeakReferenceSource_Impl, const OFFSET: isize>() -> IWeakReferenceSo...
| ^^^^
|
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
error[E0658]: function pointer casts are not allowed in constant functions
--> C:\...\.cargo\registry\src\github.com-1ecc6299db9ec823\windows-0.34.0\src\Windows\Win32\System\WinRT\impl.rs:951:98
|
951 | ...:new::<Identity, OFFSET>(), GetWeakReference: GetWeakReference::<Identity, Impl, OFFSET> }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
Additional comments
No response
The text was updated successfully, but these errors were encountered:
Which crate is this about?
windows
Crate version
v0.34.0
Summary
Using the implement feature causes several compiler errors.
Toolchain version/configuration
Reproducible example
Crate manifest
Expected behavior
No compiler errors.
Actual behavior
There are 90 errors, but they're all variations on these:
Additional comments
No response
The text was updated successfully, but these errors were encountered: