Nathaniel McCallum

Results 143 comments of Nathaniel McCallum

I was playing around with this today. And I noticed a potential inconsistency. In trait definitions, you have this theoretical syntax: ```rust const unsafe trait Foo { ... } ```...

> @npmccallum There is the precedent of `unsafe const fn`. Wouldn't it be more consistent to go with `unsafe const impl` then? > > But then there's still the issue...

Also, https://github.com/rust-lang/rust/pull/143879 puts `const` before `unsafe`. To be clear, I don't care about the ordering of `const` vs `unsafe`. I'm only pointing out that `unsafe trait` requires `unsafe impl` but...