]> git.lizzy.rs Git - rust.git/commit
Control usage of `!` through a feature gate.
authorAndrew Cann <shum@canndrew.org>
Mon, 1 Aug 2016 12:15:54 +0000 (20:15 +0800)
committerAndrew Cann <shum@canndrew.org>
Sat, 13 Aug 2016 13:37:09 +0000 (21:37 +0800)
commit5096a8c5c01f8d1d7edece23bab6898bd3016f2c
tree9136eb8a711502600646930721460a69bc982e4a
parent0e1c2aa52e7ec3f162ab4436c2ed0746d1992109
Control usage of `!` through a feature gate.

Adds the `bang_type` feature gate. `!` in a non-return-type position now
relies on that feature.
src/libcore/lib.rs
src/libsyntax/feature_gate.rs
src/libsyntax/visit.rs
src/test/run-fail/adjust_empty.rs