File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,10 @@ rowan.opt-level = 3
1919rustc-hash.opt-level = 3
2020smol_str.opt-level = 3
2121text-size.opt-level = 3
22+ serde.opt-level = 3
23+ salsa.opt-level = 3
2224# This speeds up `cargo xtask dist`.
2325miniz_oxide.opt-level = 3
24- salsa.opt-level = 3
2526
2627[profile .release ]
2728incremental = true
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ impl ExpandErrorKind {
192192 ( "overflow expanding the original macro" . to_owned ( ) , true )
193193 }
194194 ExpandErrorKind :: Other ( e) => ( ( * * e) . to_owned ( ) , true ) ,
195- ExpandErrorKind :: ProcMacroPanic ( e) => ( ( * * e ) . to_owned ( ) , true ) ,
195+ ExpandErrorKind :: ProcMacroPanic ( e) => ( format ! ( "proc-macro panicked: {e}" ) , true ) ,
196196 }
197197 }
198198}
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ impl GlobalState {
188188 status. health |= lsp_ext:: Health :: Warning ;
189189 format_to ! (
190190 message,
191- "Workspace `{}` has been queried without dependencies, connecting to crates.io might have failed .\n \n " ,
191+ "Failed to read Cargo metadata for `{}`, the `Cargo.toml` might be invalid or you have no internet connection .\n \n " ,
192192 ws. manifest_or_root( )
193193 ) ;
194194 }
You can’t perform that action at this time.
0 commit comments