summary refs log tree commit diff
path: root/src/librustc_resolve
AgeCommit message (Expand)AuthorLines
2020-03-08Rollup merge of #69805 - petrochenkov:importname, r=CentrilMazdak Farrokhzad-323/+281
2020-03-07resolve: `directive` -> `import`Vadim Petrochenkov-235/+213
2020-03-07Rollup merge of #69773 - matthiaskrgr:typos, r=petrochenkovMazdak Farrokhzad-4/+4
2020-03-07Rollup merge of #69687 - Centril:bm-inconsistent-wording, r=estebankMazdak Farrokhzad-2/+1
2020-03-07resolve: `ImportDirective` -> `Import`Vadim Petrochenkov-125/+105
2020-03-06Don't redundantly repeat field names (clippy::redundant_field_names)Matthias Krüger-5/+5
2020-03-06fix various typosMatthias Krüger-4/+4
2020-03-06Auto merge of #69586 - petrochenkov:unmerge, r=Centrilbors-10/+6
2020-03-05Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPCDylan DPC-1/+1
2020-03-05Remove redundant patterns when matching ( x @ _ to x) (clippy::redundant_pa...Matthias Krüger-1/+1
2020-03-04Use single-char patter on {ends,starts}_with and remove clone on copy type.Matthias Krüger-3/+3
2020-03-04resolve, inconsistent binding mode: tweak wording.Mazdak Farrokhzad-2/+1
2020-03-03Rollup merge of #69637 - matthiaskrgr:if_let_some_result, r=ecstatic-morseYuki Okushi-2/+2
2020-03-03Rollup merge of #69619 - matthiaskrgr:misc, r=eddybYuki Okushi-1/+1
2020-03-02Don't convert Results to Options just for matching.Matthias Krüger-2/+2
2020-03-02use values() or keys() respectively when iterating only over keys or values o...Matthias Krüger-1/+1
2020-03-02Auto merge of #69432 - petrochenkov:alldeps, r=eddybbors-5/+0
2020-03-01Rollup merge of #69569 - matthiaskrgr:nonminimal_bool, r=mark-SimulacrumDylan DPC-2/+2
2020-03-01ast: Unmerge structures for associated items and foreign itemsVadim Petrochenkov-10/+6
2020-03-01Auto merge of #69592 - petrochenkov:nosyntax, r=Centrilbors-36/+36
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-36/+36
2020-02-29Rollup merge of #69572 - matthiaskrgr:try_err_and_iter_on_ref, r=CentrilDylan DPC-1/+1
2020-02-29Make it build againVadim Petrochenkov-1/+1
2020-02-29simplify boolean expressionsMatthias Krüger-2/+2
2020-02-29use .iter() instead of .into_iter() on references.Matthias Krüger-1/+1
2020-02-29Rollup merge of #69567 - matthiaskrgr:useless_fmt, r=nagisaDylan DPC-10/+9
2020-02-29Rollup merge of #69551 - matthiaskrgr:len_zero, r=Mark-SimulacrumDylan DPC-4/+4
2020-02-29use .to_string() instead of format!() macro to create stringsMatthias Krüger-10/+9
2020-02-28Rollup merge of #69547 - matthiaskrgr:more_misc, r=Mark-SimulacrumMazdak Farrokhzad-38/+32
2020-02-28Rollup merge of #69541 - dotdash:format, r=Mark-SimulacrumMazdak Farrokhzad-2/+2
2020-02-28Rollup merge of #69539 - Centril:fix-69401, r=petrochenkovMazdak Farrokhzad-2/+3
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-11/+7
2020-02-28remove redundant clones, references to operands, explicit boolean comparisons...Matthias Krüger-38/+32
2020-02-28late resolve, visit_fn: bail early if there's no body.Mazdak Farrokhzad-2/+3
2020-02-27Remove unneeded calls to format!()Björn Steinbrink-2/+2
2020-02-27use char instead of &str for single char patternsMatthias Krüger-2/+2
2020-02-27Rollup merge of #69439 - petrochenkov:latelife, r=matthewjasperYuki Okushi-246/+246
2020-02-24resolve: `lifetimes.rs` -> `late/lifetime.rs`Vadim Petrochenkov-246/+246
2020-02-24don't explicitly compare against true or falseMatthias Krüger-1/+1
2020-02-24rustc_metadata: Load metadata for indirect macro-only dependenciesVadim Petrochenkov-5/+0
2020-02-24parse/ast: move `Defaultness` into variants.Mazdak Farrokhzad-14/+16
2020-02-23Rollup merge of #69375 - Menschenkindlein:master, r=Dylan-DPCDylan DPC-18/+18
2020-02-22Rename CodeMap to SourceMap follow upMaxim Zholobak-18/+18
2020-02-22parse: allow `type Foo: Ord` syntactically.Mazdak Farrokhzad-3/+3
2020-02-18Rollup merge of #69194 - Centril:assoc-extern-fuse, r=petrochenkovMazdak Farrokhzad-103/+110
2020-02-17Rename `FunctionRetTy` to `FnRetTy`Yuki Okushi-3/+3
2020-02-16Make librustc_infer compile.Camille GILLOT-0/+1
2020-02-15parse extern constsMazdak Farrokhzad-2/+2
2020-02-15parse associated statics.Mazdak Farrokhzad-4/+8
2020-02-15ast: make `= <expr>;` optional in free statics/consts.Mazdak Farrokhzad-3/+3