scottmcm

Results 209 comments of scottmcm

It just missed 1.54, but `ControlFlow` is now stabilized for 1.55.

Note that the geometric mean is just the arithmetic mean on a log scale, so the geometric mean being the right choice is a strong indicator that a log scale...

> I know what geometric mean is, and arithmetic mean, and a log scale, but I don't understand that sentence at all. Can you explain more or give a link?...

Note that `[non_exhaustive]` doesn't solve the unknown-discriminant-in-FFI case -- the crate that defines the enum is still allowed to exhaustively match on all the variants that exist (because it's the...

For `padding_needed_for`, it could be nice to have it take a specific type (see https://github.com/rust-lang/rust/pull/95361/files#diff-02049689ae3bb7ac98af3418ad8fdca219bfa1227cb6cad31afc72bdbae30e27R28) that's always a valid alignment, rather than needing to document that > The return value...

Thanks, @timvermeulen, I'll look at that one. I've sent PR #100220 to fix `ByRefSized::fold`, and will consider this PR blocked until that one goes in and I can confirm it...

@timvermeulen My mistake turned out to be an obvious one: I'd [forgotten](https://github.com/rust-lang/rust/commit/4104932236c7695ea0179f4b6ec2771bb398175b#diff-4560688b121853f7240d9741469cc46eafadc5d007b423e8a76e8f0d0de50f75R50) to inline some methods, and because it's a non-generic type that meant the benches ended up needing to...

Oh, it's failing on the UB trap check. I've ignored the codegen test for debug, since it's a `-O` test. @bors r=thomcc

Looks like the retry didn't put it back in the queue right? I'll try it again. @bors retry

We discussed this in the lang meeting this week. I don't think we had agreement on what the way forward should be, but we had consensus that - The inference...