1
Fork 0

Rename all_crate_nums query to crates and remove useless wrapper

This commit is contained in:
bjorn3 2021-06-07 11:03:17 +02:00
parent e98897e5dc
commit c7d2099de0
21 changed files with 27 additions and 31 deletions

View file

@ -938,7 +938,7 @@ pub fn check_unused_or_stable_features(tcx: TyCtxt<'_>) {
if !remaining_lib_features.is_empty() {
check_features(&mut remaining_lib_features, &local_defined_features);
for &cnum in tcx.crates() {
for &cnum in tcx.crates(()) {
if remaining_lib_features.is_empty() {
break;
}