]> git.lizzy.rs Git - rust.git/commit
integrate the edition code.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 26 Jul 2018 11:17:33 +0000 (13:17 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 26 Jul 2018 12:51:32 +0000 (14:51 +0200)
commit4b2e553dac205609277607b3a192cc7fc905fc2c
tree2357370dec9e27cb3ea6bab89739bc97cfaf96df
parent1a59dafe1198b9f36d7c72e536f5d57495de1b9d
integrate the edition code.

As a driveby change, I made `#![feature(nll)]` *always* take
precedence over `-Z borrowck`.  The main effect this had is that it
means tests with `#![feature(nll)]` will ignore uses of `-Z
borrowck=compare`. This affected only one test as far as I can tell,
and I think that test used `-Z borrowck=compare` only as a historical
accident.
src/librustc/ty/context.rs
src/test/ui/generator/generator-with-nll.rs
src/test/ui/generator/generator-with-nll.stderr