NLL only modes aren't available on stable Rust atm. What edition 2018 has right now is migrate mode NLL. In order to fully enjoy NLL, you'll have to use Rust nightly and do
#![feature(nll)] or
-Z borrowck=mir -Z two-phase-borrows, both flags being independent of the edition you're using.
Edit: removed outdated behaviour of migration mode.