mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-05 11:47:13 +00:00

remove dead inferred outlives testing code The `test_inferred_outlives` function was never run, because the code that's actually used for the tests was part of the `inferred_outlives_of` query, which ran before `test_inferred_outlives` during type collecting. This PR separates the test code from the query and moves it inside the dedicated function.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.