Files
rust/tests/ui/pattern
许杰友 Jieyou Xu (Joe) c0b47d95f8 Rollup merge of #134474 - oli-obk:push-yomnkntvzlxw, r=compiler-errors
Forbid overwriting types in typeck

While trying to figure out some type setting logic in https://github.com/rust-lang/rust/pull/134248 I realized that we sometimes set a type twice. While hopefully that would have been the same type, we didn't ensure that at all and just silently accepted it. So now we reject setting it twice, unless errors are happening, then we don't care.

Best reviewed commit by commit.

No behaviour change is intended.
2024-12-19 16:48:10 +08:00
..
2024-11-24 19:42:33 +01:00
2024-02-09 15:43:08 -03:00
2024-02-09 15:43:08 -03:00
2024-04-29 14:53:38 +02:00
2024-03-27 11:20:28 -04:00
2024-11-21 18:40:36 +08:00
2024-11-21 18:40:36 +08:00