From: Matthias Krüger Date: Sat, 24 Dec 2022 07:53:48 +0000 (+0100) Subject: Rollup merge of #106100 - scottmcm:derived-less-than-test, r=compiler-errors X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=09ee7048fdae23fde07fd813e4310fdb640d0f20;p=rust.git Rollup merge of #106100 - scottmcm:derived-less-than-test, r=compiler-errors 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). --- 09ee7048fdae23fde07fd813e4310fdb640d0f20