Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillot
Add newtypes for bool fields/params/return types Fixed all the cases of this found with some simple searches for `*/ bool` and `bool /*`; probably many more
This commit is contained in:
commit
7c88ea2842
35 changed files with 332 additions and 207 deletions
|
@ -1111,7 +1111,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
|
|||
suggestions.extend(
|
||||
tmp_suggestions
|
||||
.into_iter()
|
||||
.filter(|s| use_prelude || this.is_builtin_macro(s.res)),
|
||||
.filter(|s| use_prelude.into() || this.is_builtin_macro(s.res)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue