File tree Expand file tree Collapse file tree 3 files changed +94
-107
lines changed Expand file tree Collapse file tree 3 files changed +94
-107
lines changed Original file line number Diff line number Diff line change 1+ pub ( crate ) mod arena;
12pub mod bridge;
3+ pub ( crate ) mod fxhash;
24
35#[ allow( unsafe_code) ]
4- pub ( self ) mod arena;
5-
6- #[ forbid( unsafe_code) ]
7- pub ( self ) mod fxhash;
6+ pub use bridge:: * ;
Original file line number Diff line number Diff line change @@ -163,15 +163,15 @@ impl Diagnostic {
163163 pub fn emit ( self ) {
164164 fn to_internal (
165165 diag : Diagnostic ,
166- ) -> crate :: backend:: bridge :: Diagnostic < crate :: backend:: bridge :: client:: Span > {
167- crate :: backend:: bridge :: Diagnostic {
166+ ) -> crate :: backend:: Diagnostic < crate :: backend:: client:: Span > {
167+ crate :: backend:: Diagnostic {
168168 level : diag. level ,
169169 message : diag. message ,
170170 spans : diag. spans . into_iter ( ) . map ( |s| s. 0 ) . collect ( ) ,
171171 children : diag. children . into_iter ( ) . map ( to_internal) . collect ( ) ,
172172 }
173173 }
174174
175- crate :: backend:: bridge :: client:: FreeFunctions :: emit_diagnostic ( to_internal ( self ) ) ;
175+ crate :: backend:: client:: FreeFunctions :: emit_diagnostic ( to_internal ( self ) ) ;
176176 }
177177}
You can’t perform that action at this time.
0 commit comments