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 501499c commit 6c69e9dCopy full SHA for 6c69e9d
src/cargo/ops/fix.rs
@@ -224,12 +224,6 @@ fn check_resolver_change(ws: &Workspace<'_>, opts: &FixOptions) -> CargoResult<(
224
return Ok(());
225
}
226
227
- if !opts.compile_opts.filter.is_all_targets() {
228
- // When migrating specific targets, we can't know if the user intends
229
- // to set the global edition at this time or not. Conservatively
230
- // assume the user will figure things out.
231
- return Ok(());
232
- }
233
// 2018 without `resolver` set must be V1
234
assert_eq!(ws.resolve_behavior(), ResolveBehavior::V1);
235
let specs = opts.compile_opts.spec.to_package_id_specs(ws)?;
0 commit comments