mirror of
https://github.com/dtolnay/cargo-expand.git
synced 2025-04-03 21:07:37 +03:00
Remove pre-1.57 proc_macro2::fallback::force()
This commit is contained in:
parent
ce7b6148f8
commit
79a45046de
1 changed files with 0 additions and 4 deletions
|
@ -141,10 +141,6 @@ fn cargo_expand() -> Result<i32> {
|
|||
const DOLLAR_CRATE_PLACEHOLDER: &str = "Ξcrate";
|
||||
let wip = questionably_formatted.replace("$crate", DOLLAR_CRATE_PLACEHOLDER);
|
||||
|
||||
// Support cargo-expand built with panic=abort, as otherwise proc-macro2
|
||||
// ends up using a catch_unwind.
|
||||
proc_macro2::fallback::force();
|
||||
|
||||
enum Stage {
|
||||
Formatted(String),
|
||||
Unformatted(String),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue