2

proc_macro/bridge: send diagnostics over the bridge as a struct by mystor · Pull...

 2 years ago
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.
neoserver,ios ssh client

Contributor

@mystor mystor commented on Aug 6

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

All reactions

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK