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 6c2c29c commit b6fc4b1Copy full SHA for b6fc4b1
src/librustc_mir/borrow_check/mod.rs
@@ -259,10 +259,8 @@ fn do_mir_borrowck<'a, 'tcx>(
259
move_error_reported: BTreeMap::new(),
260
uninitialized_error_reported: Default::default(),
261
errors_buffer,
262
- // Only downgrade errors on Rust 2015 and refuse to do so on Rust 2018.
263
- // FIXME(Centril): In Rust 1.40.0, refuse doing so on 2015 as well and
264
- // proceed to throwing out the migration infrastructure.
265
- disable_error_downgrading: body.span.rust_2018(),
+ // FIXME(Centril): throw out the migration infrastructure.
+ disable_error_downgrading: true,
266
nonlexical_regioncx: regioncx,
267
used_mut: Default::default(),
268
used_mut_upvars: SmallVec::new(),
0 commit comments