]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #106100 - scottmcm:derived-less-than-test, r=compiler-errors
authorMatthias Krüger <matthias.krueger@famsik.de>
Sat, 24 Dec 2022 07:53:48 +0000 (08:53 +0100)
committerGitHub <noreply@github.com>
Sat, 24 Dec 2022 07:53:48 +0000 (08:53 +0100)
Codegen test for derived `<` on trivial newtype [TEST ONLY]

I originally wrote this for #106065, but the libcore changes there aren't necessarily a win.

So I pulled out this test to be its own PR since it's important (see https://github.com/rust-lang/rust/pull/105840#discussion_r1056030324) and well-intentioned changes to core or the derive could accidentally break it without that being obvious (other than by massive unexplained perf changes).


Trivial merge