Files
rust/compiler/rustc_codegen_llvm/src
Vadim Petrochenkov 5b5964f569 rustc: Panic by default in DefIdTree::parent
Only crate root def-ids don't have a parent, and in majority of cases the argument of `DefIdTree::parent` cannot be a crate root.
So we now panic by default in `parent` and introduce a new non-panicing function `opt_parent` for cases where the argument can be a crate root.

Same applies to `local_parent`/`opt_local_parent`.
2022-05-02 01:56:50 +03:00
..
2022-02-28 00:02:11 -05:00
2022-04-12 11:09:26 -04:00
2022-03-25 03:55:18 -07:00
2022-02-24 12:18:21 +01:00
2020-08-30 18:45:07 +03:00