Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of #105063 - aDotInTheVoid:rdj-dont-assume-core, r=notri…
…ddle Rustdoc Json Tests: Don't assume that core::fmt::Debug will always have one item. See #104525 (comment) and #104525 (comment) for motivation. This still assumes that `fmt` is the first method, but thats alot less brittle than assuming it will be the only method. Sadly, we can't use a aux crate to insulate the tests from core changes, because core is special, so all we can do is try not to depend on things that may change.
- Loading branch information