Files
rust/tests/ui/mir
Jieyou Xu b38a86f4d7 Revert "Rollup merge of #122661 - estebank:assert-macro-span, r=petrochenkov"
This reverts commit 1eeb8e8b15, reversing
changes made to 324bf2b9fd.

Unfortunately the assert desugaring change is not backwards compatible,
see RUST-145770.

Code such as

```rust
#[derive(Debug)]
struct F {
    data: bool
}

impl std::ops::Not for F {
  type Output = bool;
  fn not(self) -> Self::Output { !self.data }
}

fn main() {
  let f = F { data: true };

  assert!(f);
}
```

would be broken by the assert desugaring change. We may need to land
the change over an edition boundary, or limit the editions that the
desugaring change impacts.
2025-09-11 09:10:46 +08:00
..
2024-05-04 19:27:27 +00:00
2024-07-21 21:42:10 +08:00
2024-07-21 21:42:10 +08:00
2024-12-06 16:42:09 -05:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2024-12-13 00:04:56 +00:00
2025-03-30 01:32:21 +03:00
2023-01-11 09:32:08 +00:00
2024-05-02 19:42:31 -04:00
2024-08-18 19:46:53 +02:00
2024-05-04 19:26:51 +00:00