On Mon, Jun 22, 2026 at 06:49:04PM +0200, Jonas Smedegaard wrote: > Quoting Santiago Vila (2026-06-22 16:19:58) > > On Mon, Jun 22, 2026 at 02:13:59PM +0200, Jonas Smedegaard wrote: > > > > Are those ok that way or maybe they should also be changed to > > > > codemap::SpanLoc? > > > > (Just a wild idea, I know nothing about rust). > > > > > > That is indeed a reasonable suggestion. I doubted it, however. And a > > > conversation with a generative AI today supported my own reasoning. > > > > > > That conversation is attached this email, in case you appreciate the > > > input of hallucinatory machinery. > > > > You are right to be skeptical because I've just tried that and it > > didn't work... > > What did you try that didn't work?
The "reasonable suggestion", i.e. doing to macros.rs the same type of changes that you did in 1001_test_trait_type.patch (and later reverted). If this is not a bug in rust, it could also be a bug in the scripts controlling the build, which take for granted that some things are done in a certain order. Or maybe the package is taking for granted some behaviour from the compiler which is in fact undefined behaviour. Thanks.

