microsoft / windows-rs

Rust for Windows
https://kennykerr.ca/rust-getting-started/
Apache License 2.0
10.23k stars 476 forks source link

Improve COM authoring diagnostics #3036

Open kennykerr opened 3 months ago

kennykerr commented 3 months ago

The interface and implement macros, while powerful, suffer from the fact that they have no contextual information. They can only parse the tokens provided to them and don't necessarily know what those types and paths refer to. There are two areas where I think we might be able to practically improve upon the existing experience: