about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/tests.rs
AgeCommit message (Collapse)AuthorLines
2023-11-02Replace two `create_default_session_if_not_set_then` uses.Nicholas Nethercote-2/+2
With `create_default_session_globals_then`, which is preferable when it is appropriate.
2023-05-17Only depend on CFG_VERSION in rustc_interfacejyn-3/+3
this avoids having to rebuild the whole compiler on each commit when `omit-git-hash = false`.
2023-04-18Store hashes in special types so they aren't accidentally encoded as numbersBen Kimock-1/+2
2022-12-07Use `Symbol` for the crate name instead of `String`/`str`Oli Scherer-17/+21
2021-07-06Revert "Revert "Fix test""bjorn3-8/+5
This reverts commit 6c5b6985fdce0921fe4ac0247fd026355953c1ea.
2021-06-07Revert "Fix test"bjorn3-5/+8
This reverts commit 3abdebe79d9a3a2256a36fe8f408dad6a466f89f.
2021-05-30Fix testbjorn3-8/+5
2021-02-04Add unit test to ensure that both parts of a DefPathHash depend on the ↵Michael Woerister-0/+39
defining crate's ID.