mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-11 14:48:41 +00:00

As of #133155 `Formatter:new` uses `as_results_cursor` to create a non-mutable results reference, and then later that is accessed via `deref_mut` which results in a runtime abort. Changing to `as_results_cursor_mut` fixes it. Fixes #133641.