mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Follow established ErrorEmitted pattern
This commit is contained in:
parent
0103f5df8f
commit
a79b5673e8
3 changed files with 14 additions and 17 deletions
|
@ -35,7 +35,7 @@ pub struct ErrorEmitted {
|
|||
_private: (),
|
||||
}
|
||||
|
||||
trait ErrorSink {
|
||||
pub trait ErrorSink {
|
||||
fn emit(&mut self, err: mbe::ExpandError);
|
||||
|
||||
fn option<T>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue