-
Notifications
You must be signed in to change notification settings - Fork 33
try! example panics when fixing docs.rs #30
Comments
Thanks for the report. Looks like matching of try! is broken completely. Still looking into why. I did go back and check a couple of older versions. Looks like it was already broken in August, however when I went back to May it works. So if you want a workaround, you can do: rustup toolchain install --force nightly-2019-05-13
cargo +nightly-2019-05-13 install --force rerast --version 0.1.49 |
Turns out matching of try! was OK, but when the replacement was the question mark operator, it was getting confused by some of the variables that try! / ? declared in the expansion and thinking that those variables were placeholders. Should be fixed with the next release. Thanks again for reporting. |
Whoops, I just had to link it into |
Thanks to cargo-rerast, see google/rerast#30
I have a project which has moved to the 2018 edition and has had |
You would need to change the rules file. Can you open a new issue instead of bumping an old one? |
I'm trying to run rerast on https://github.com/rust-lang/docs.rs/, but it panics when I run the command. I'm not sure what I'm doing wrong and I don't understand the error message. I'm using the
try!
example directly from COOKBOOK.md.Rewrite file:
Backtrace
The text was updated successfully, but these errors were encountered: