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;
1
2
pub mod bridge;
3
+ pub ( crate ) mod fxhash;
2
4
3
5
#[ 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 {
163
163
pub fn emit ( self ) {
164
164
fn to_internal (
165
165
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 {
168
168
level : diag. level ,
169
169
message : diag. message ,
170
170
spans : diag. spans . into_iter ( ) . map ( |s| s. 0 ) . collect ( ) ,
171
171
children : diag. children . into_iter ( ) . map ( to_internal) . collect ( ) ,
172
172
}
173
173
}
174
174
175
- crate :: backend:: bridge :: client:: FreeFunctions :: emit_diagnostic ( to_internal ( self ) ) ;
175
+ crate :: backend:: client:: FreeFunctions :: emit_diagnostic ( to_internal ( self ) ) ;
176
176
}
177
177
}
You can’t perform that action at this time.
0 commit comments