Skip to content

Commit dfa06a2

Browse files
committed
stupid issue :<
1 parent 0cb7e86 commit dfa06a2

File tree

1 file changed

+1
-5
lines changed
  • compiler/rustc_next_trait_solver/src/solve/eval_ctxt

1 file changed

+1
-5
lines changed

compiler/rustc_next_trait_solver/src/solve/eval_ctxt/mod.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -361,11 +361,7 @@ where
361361

362362
for &(key, ty) in &input.predefined_opaques_in_body.opaque_types {
363363
let prev = ecx.delegate.register_hidden_type_in_storage(key, ty, ecx.origin_span);
364-
assert_eq!(prev, None);
365-
}
366-
367-
if !ecx.nested_goals.is_empty() {
368-
panic!("prepopulating opaque types shouldn't add goals: {:?}", ecx.nested_goals);
364+
// assert_eq!(prev, None); // TODO yikes, needs test, at least it's not unsound
369365
}
370366

371367
let result = f(&mut ecx, input.goal);

0 commit comments

Comments
 (0)