rust/src/librustc_metadata
Zack M. Davis 8531d58104 prefer if let to match with None => () arm in some places
Casual grepping revealed some places in the codebase (some of which
antedated `if let`'s December 2014 stabilization in c200ae5a) where we
were using a match with a `None => ()` arm where (in the present
author's opinion) an `if let` conditional would be more readable. (Other
places where matching to the unit value did seem to better express the
intent were left alone.)

It's likely that we don't care about making such trivial,
non-functional, sheerly æsthetic changes.

But if we do, this is a patch.
2016-06-15 08:13:10 -07:00
..
astencode.rs Introduce TyCtxt::expect_def/expect_resolution helpers and use them where possible 2016-06-10 01:03:54 +03:00
Cargo.toml
common.rs trans: remove item_symbols from metadata and CrateContext. 2016-05-25 01:56:49 +03:00
creader.rs prefer if let to match with None => () arm in some places 2016-06-15 08:13:10 -07:00
csearch.rs fix ICEs with RUST_LOG 2016-06-03 16:11:18 +03:00
cstore.rs allow retracing paths across crates 2016-05-18 10:11:36 -04:00
decoder.rs Auto merge of #33622 - arielb1:elaborate-drops, r=nikomatsakis 2016-06-04 23:49:29 -07:00
def_key.rs
diagnostics.rs Add error description for E0455 2016-05-10 20:16:29 -03:00
encoder.rs make region-param-def encoding more DRY 2016-05-31 19:44:04 -04:00
index.rs when encoding, push MetaData(foo) task on stack 2016-05-18 10:11:35 -04:00
lib.rs
loader.rs change svh to store a u64 2016-05-18 10:11:35 -04:00
macro_import.rs Load macros from extern crates during expansion. 2016-06-09 00:44:17 +00:00
macros.rs
tls_context.rs rustc: Split 'tcx into 'gcx and 'tcx for InferCtxt and its users. 2016-05-11 04:14:58 +03:00
tydecode.rs rustc: add ReErased to be used by trait selection, MIR and trans. 2016-06-05 13:58:51 +03:00
tyencode.rs rustc: add ReErased to be used by trait selection, MIR and trans. 2016-06-05 13:58:51 +03:00