bors cae0791da4 Auto merge of #116417 - ouz-a:trait_type_detective, r=compiler-errors
Remove is global hack

In attempt to fix https://github.com/rust-lang/rust/issues/114057 we found several issues with how compiler computes layouts, this change removes `is_global` from `and` to stop impl from being shadowed.

In depth conversation can be read here https://rust-lang.zulipchat.com/#narrow/stream/146212-t-compiler.2Fconst-eval/topic/Getting.20different.20types.20from.20almost.20same.20inputs

This is a fix candidate opened for performance run.

r? `@lcnr`
2023-10-05 19:42:05 +00:00
..
2023-10-05 01:04:41 +00:00
2023-10-04 08:01:11 +08:00
2023-10-04 08:01:11 +08:00
2023-10-04 18:12:20 +11:00
2023-10-05 01:04:41 +00:00
2023-10-05 01:04:41 +00:00
2023-10-05 01:04:41 +00:00
2023-10-05 01:04:41 +00:00
2023-10-05 18:56:30 +03:00
2023-10-05 01:04:41 +00:00