Stream: t-compiler/wg-nll

Topic: flag to disable migrate mode


memoryruins (Oct 31 2018 at 17:04, on Zulip):

https://www.reddit.com/r/rust/comments/9sz54u/comment/e8sn5xc?st=JNXEEHLM&sh=a0be7e7e

I want to shift completely to the new borrowck when it releases and not run the old one at all. Will there be any flags I can set for my projects to achieve this?

nikomatsakis (Oct 31 2018 at 17:24, on Zulip):

they can run #![feature(nll)] still, on nightly, to achieve that effect

simulacrum (Oct 31 2018 at 19:39, on Zulip):

But -- if I understand correctly -- you can also get the same effects with e.g. #![deny(warnings)] on 2018 edition

nikomatsakis (Oct 31 2018 at 19:40, on Zulip):

not entirely true

nikomatsakis (Oct 31 2018 at 19:40, on Zulip):

but mostly true

nikomatsakis (Oct 31 2018 at 19:40, on Zulip):

if you use e.g. #![feature(nll)] we do disable some region error messages that would otherwise be hard errors

nikomatsakis (Oct 31 2018 at 19:41, on Zulip):

so basically some things might compile that wouldn't with #![deny(warnings)]

simulacrum (Oct 31 2018 at 20:54, on Zulip):

ah, interesting

Last update: Nov 21 2019 at 23:25UTC