We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cce8b4 commit a9da3c8Copy full SHA for a9da3c8
src/cargo/core/resolver/mod.rs
@@ -967,12 +967,12 @@ fn find_candidate(
967
if let Some(age) = age {
968
// Above we use `cx` to determine if this is going to be conflicting.
969
// But lets just double check if the `pop`ed frame agrees.
970
- let frame_to_new = frame.context.age >= age;
+ let frame_too_new = frame.context.age >= age;
971
debug_assert!(
972
frame
973
.context
974
.is_conflicting(Some(parent.package_id()), conflicting_activations)
975
- == frame_to_new.then_some(age)
+ == frame_too_new.then_some(age)
976
);
977
978
if frame_to_new {
0 commit comments