Make the unrooted_must_root conditional on a default Cargo feature.

Only http://perf.rust-lang.org/ will disable it,
in order to be less subject to changes to rustc internal APIs.
This commit is contained in:
Simon Sapin 2017-11-02 15:08:04 +01:00
parent 27a2bb1582
commit a5d9d0b32d
4 changed files with 14 additions and 0 deletions

View file

@ -8,3 +8,6 @@ publish = false
[lib]
path = "lib.rs"
plugin = true
[features]
unrooted_must_root_lint = []