5b5964f569
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`. |
||
---|---|---|
.. | ||
bound_region_errors.rs | ||
conflict_errors.rs | ||
explain_borrow.rs | ||
find_all_local_uses.rs | ||
find_use.rs | ||
mod.rs | ||
move_errors.rs | ||
mutability_errors.rs | ||
outlives_suggestion.rs | ||
region_errors.rs | ||
region_name.rs | ||
var_name.rs |