]> git.lizzy.rs Git - rust.git/commit
document and tweak the nll, use_mir, etc helpers
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 20 Dec 2017 09:26:54 +0000 (04:26 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Wed, 20 Dec 2017 19:38:13 +0000 (14:38 -0500)
commitcfa4ffa374f264cad971b8177e8d3a9cdd8152b3
tree3b6dd238b98b15fec2db38dc74d6a5541a6b02d5
parente980fb8befe789cd6db13ffff38f7a0901cbc57c
document and tweak the nll, use_mir, etc helpers

In particular, -Znll might as well imply -Zborrowck=mir by default,
just like `#![feature(nll)]` does.

Also, if NLL is in use, no reason to emit end regions. The NLL pass
just strips them out anyway.
src/librustc/session/mod.rs
src/librustc_mir/borrow_check/mod.rs