proc_macro/bridge: send diagnostics over the bridge as a struct by mystor · Pull...
source link: https://github.com/rust-lang/rust/pull/100210
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
This removes some RPC when creating and emitting diagnostics, and
simplifies the bridge slightly.
After this change, there are no remaining methods which take advantage
of the support for &mut
references to objects in the store as
arguments, meaning that support for them could technically be removed if
we wanted. The only remaining uses of immutable references into the
store are TokenStream
and SourceFile
.
r? @eddyb
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK