about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-30 19:53:18 +0100
committerGitHub <noreply@github.com>2022-11-30 19:53:18 +0100
commitcbf1a0ed3ac0b436834e80086f136ef18b3b2ccf (patch)
treee8ec115461a138a1064f0e2c169d67f698826b20 /compiler/rustc_codegen_llvm/src/errors.rs
parenteabc0720a672a70ca4ee2c760a2726f202a7252e (diff)
parent928622812c8f885d8d802ccee36bbe538a47e801 (diff)
downloadrust-cbf1a0ed3ac0b436834e80086f136ef18b3b2ccf.tar.gz
rust-cbf1a0ed3ac0b436834e80086f136ef18b3b2ccf.zip
Rollup merge of #105063 - aDotInTheVoid:rdj-dont-assume-core, r=notriddle
Rustdoc Json Tests: Don't assume that core::fmt::Debug will always have one item.

See https://github.com/rust-lang/rust/pull/104525#issuecomment-1330837047 and https://github.com/rust-lang/rust/pull/104525#issuecomment-1331087852 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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions