Improve diagnostics when encountering TypeRef
in metadata
#2742
Labels
enhancement
New feature or request
TypeRef
in metadata
#2742
TypeRef
currently raises anunimplemented!()
assuming this i something that could be implemented at some point:windows-rs/crates/libs/bindgen/src/rust/writer.rs
Line 173 in 831b99b
This is showing when generating (custom) metadata on (top of)
win32metadata
main
(currently at microsoft/win32metadata@3d65d37):This is caused by an upstream issue, where metadata is missing for a type that is used by other functions (microsoft/win32metadata#1760).
riddle
needs to understand the type here, and for that the generator should emit a more descriptive diagnostic upon encounteringTypeRef
.Originally posted by @MarijnS95 in #2539 (comment)
The text was updated successfully, but these errors were encountered: