about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-11-26 19:03:57 +0000
committerbors <bors@rust-lang.org>2017-11-26 19:03:57 +0000
commit827cb0d61e22eb6d5c9c5e8e8d05b07108a9968b (patch)
treebf03202853c427de500d8a75e5f7826592e3036b /src/libstd/sys/unix/stack_overflow.rs
parent71b21ed0daa9d81d44f2168d16b00f681bb7286a (diff)
parentd79179891a40f442aee6082e43822be818a5e59c (diff)
downloadrust-827cb0d61e22eb6d5c9c5e8e8d05b07108a9968b.tar.gz
rust-827cb0d61e22eb6d5c9c5e8e8d05b07108a9968b.zip
Auto merge of #46106 - est31:master, r=nikomatsakis
Add a MIR-borrowck-only output mode

Removes the `-Z borrowck-mir` flag in favour of a `-Z borrowck=mode` flag where mode can be `mir`, `ast`, or `compare`.

* The `ast` mode represents the current default, passing `-Z borrowck=ast` is equivalent to not passing it at all.
* The `compare` mode outputs both the output of the MIR borrow checker and the AST borrow checker, each error with `(Ast)` and `(Mir)` appended. This mode has the same behaviour as `-Z borrowck-mir` had before this commit.
* The `mir` mode only outputs the results of the MIR borrow checker, while suppressing the errors of the ast borrow checker

The PR also updates the tests to use the new flags.

closes  #46097
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions