mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
8a04372fec
The fix is admittedly quit literally just papering over. Long-term, I see two more principled approaches: * we switch to a fully tree-based impl, without parse . to_string step; with this approach, there shouldn't be any panics. The results might be nonsensical, but so was the original input. * we preserve the invariant that re-parsing constructed node is an identity, and make all the `make_xxx` method return an `Option`. closes #4044 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |