]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #8440 : sfackler/rust/env-fix, r=pcwalton
authorbors <bors@rust-lang.org>
Wed, 14 Aug 2013 11:41:20 +0000 (04:41 -0700)
committerbors <bors@rust-lang.org>
Wed, 14 Aug 2013 11:41:20 +0000 (04:41 -0700)
The type of the result of option_env! was not fully specified in the
None case, leading to type check failures in the case where the variable
was not defined (e.g. option_env!("FOO").is_none()).

Also cleaned up some compilation warnings.


Trivial merge