File tree 3 files changed +4
-3
lines changed
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
19
19
rustc-hash.opt-level = 3
20
20
smol_str.opt-level = 3
21
21
text-size.opt-level = 3
22
+ serde.opt-level = 3
23
+ salsa.opt-level = 3
22
24
# This speeds up `cargo xtask dist`.
23
25
miniz_oxide.opt-level = 3
24
- salsa.opt-level = 3
25
26
26
27
[profile .release ]
27
28
incremental = true
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ impl ExpandErrorKind {
192
192
( "overflow expanding the original macro" . to_owned ( ) , true )
193
193
}
194
194
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 ) ,
196
196
}
197
197
}
198
198
}
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ impl GlobalState {
188
188
status. health |= lsp_ext:: Health :: Warning ;
189
189
format_to ! (
190
190
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 " ,
192
192
ws. manifest_or_root( )
193
193
) ;
194
194
}
You can’t perform that action at this time.
0 commit comments