Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit aea630b

Browse files
committedDec 14, 2023
update use of feature flags
1 parent e385dfc commit aea630b

File tree

216 files changed

+225
-226
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+225
-226
lines changed
 

‎compiler/rustc_borrowck/src/region_infer/opaque_types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ fn check_opaque_type_well_formed<'tcx>(
315315
parent_def_id = tcx.local_parent(parent_def_id);
316316
}
317317

318-
// FIXME(-Ztrait-solver=next): We probably should use `DefiningAnchor::Error`
318+
// FIXME(-Znext-solver): We probably should use `DefiningAnchor::Error`
319319
// and prepopulate this `InferCtxt` with known opaque values, rather than
320320
// using the `Bind` anchor here. For now it's fine.
321321
let infcx = tcx

‎compiler/rustc_borrowck/src/type_check/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
10041004
reported_errors: Default::default(),
10051005
};
10061006

1007-
// FIXME(-Ztrait-solver=next): A bit dubious that we're only registering
1007+
// FIXME(-Znext-solver): A bit dubious that we're only registering
10081008
// predefined opaques in the typeck root.
10091009
if infcx.next_trait_solver() && !infcx.tcx.is_typeck_child(body.source.def_id()) {
10101010
checker.register_predefined_opaques_in_new_solver();

0 commit comments

Comments
 (0)
Please sign in to comment.