Files
rust/tests/ui/reachable
2026-02-16 12:24:15 +00:00
..
2024-12-10 11:34:13 +08:00

A variety of tests around reachability. These tests in general check two things:

  • that we get unreachable code warnings in reasonable locations;
  • that we permit coercions into ! from expressions which diverge, where an expression "diverges" if it must execute some subexpression of type !, or it has type ! itself.