mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
bfc6c90115
Refactor path segment parameter error This PR attempts to rewrite the error handling for an unexpected parenthesised type parameters to: - Use provided data instead of re-parsing the whole span - Add a multipart suggestion to reflect on the changes with an underline - Remove the unnecessary "if" nesting |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |