error[E0133]: call to unsafe function `MmioAddr::<T>::new` is unsafe and requires unsafe block
 --> tests/ui/mmio_safe_construction.rs:9:28
  |
9 | const BAD: MmioAddr<u32> = MmioAddr::new(0x5200_1000);
  |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
  |
  = note: consult the function's documentation for information on how to avoid undefined behavior
