diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-06-07 11:03:17 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-07-01 16:51:11 +0200 |
| commit | c7d2099de0740a6ff9ed0c9eb46b06e76447f1d3 (patch) | |
| tree | c5dbbdce6fa7517d13094a8107e687c25aad0419 /compiler/rustc_metadata/src/rmeta/decoder | |
| parent | e98897e5dc9898707bf4331c43b2e76ab7e282fe (diff) | |
| download | rust-c7d2099de0740a6ff9ed0c9eb46b06e76447f1d3.tar.gz rust-c7d2099de0740a6ff9ed0c9eb46b06e76447f1d3.zip | |
Rename all_crate_nums query to crates and remove useless wrapper
Diffstat (limited to 'compiler/rustc_metadata/src/rmeta/decoder')
| -rw-r--r-- | compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs b/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs index 5e116122179..27723a4b9d8 100644 --- a/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs +++ b/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs @@ -312,7 +312,7 @@ pub fn provide(providers: &mut Providers) { // which is to say, its not deterministic in general. But // we believe that libstd is consistently assigned crate // num 1, so it should be enough to resolve #46112. - let mut crates: Vec<CrateNum> = (*tcx.crates()).to_owned(); + let mut crates: Vec<CrateNum> = (*tcx.crates(())).to_owned(); crates.sort(); for &cnum in crates.iter() { |
