Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit53ec4bc

Browse files
Remove some stale FIXMEs in new solver
1 parentf421586 commit53ec4bc

File tree

2 files changed

+0
-6
lines changed
  • compiler/rustc_trait_selection/src/solve

2 files changed

+0
-6
lines changed

‎compiler/rustc_trait_selection/src/solve/mod.rs‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
//! FIXME(@lcnr): Write that section. If you read this before then ask me
1010
//! about it on zulip.
1111
12-
// FIXME: uses of `infcx.at` need to enable deferred projection equality once that's implemented.
13-
1412
use rustc_hir::def_id::DefId;
1513
use rustc_infer::infer::canonical::{Canonical,CanonicalVarValues};
1614
use rustc_infer::traits::query::NoSolution;
@@ -105,8 +103,6 @@ impl<'a, 'tcx> EvalCtxt<'a, 'tcx> {
105103
goal:Goal<'tcx,SubtypePredicate<'tcx>>,
106104
) ->QueryResult<'tcx>{
107105
if goal.predicate.a.is_ty_var() && goal.predicate.b.is_ty_var(){
108-
// FIXME: Do we want to register a subtype relation between these vars?
109-
// That won't actually reflect in the query response, so it seems moot.
110106
self.evaluate_added_goals_and_make_canonical_response(Certainty::AMBIGUOUS)
111107
}else{
112108
self.sub(goal.param_env, goal.predicate.a, goal.predicate.b)?;

‎compiler/rustc_trait_selection/src/solve/search_graph/mod.rs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ impl<'tcx> SearchGraph<'tcx> {
7878
tcx:TyCtxt<'tcx>,
7979
goal:CanonicalGoal<'tcx>,
8080
) ->Result<(),QueryResult<'tcx>>{
81-
// FIXME: start by checking the global cache
82-
8381
// Look at the provisional cache to check for cycles.
8482
let cache =&mutself.provisional_cache;
8583
match cache.lookup_table.entry(goal){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp