Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
b80d074
Fix typo in README.md
filenine Nov 30, 2023
605381a
Capitalize ToC in README.md
filenine Nov 30, 2023
4e99db9
Tweak unclosed generics errors
estebank Nov 15, 2023
5e470db
Remove the `precise_pointer_size_matching` feature gate
Nadrieril Dec 4, 2023
e6a14c0
Use default params until effects in desugaring
fee1-dead Dec 4, 2023
8fb7117
Update books
rustbot Dec 4, 2023
0e3e16c
rustc_driver_impl: Address all `rustc::potential_query_instability` l…
Enselic Dec 5, 2023
ae2427d
rustc_interface: Address all `rustc::potential_query_instability` lints
Enselic Dec 5, 2023
d7d867d
rustc_symbol_mangling: Address all `rustc::potential_query_instabilit…
Enselic Dec 5, 2023
1b50304
Remove mention of rust to make the error message generic.
hdost Dec 4, 2023
15a8e9d
Fix x not to quit when x prints settings.json
long-long-float Dec 4, 2023
2d01eee
Rollup merge of #117922 - estebank:unclosed-generics, r=b-naber
matthiaskrgr Dec 5, 2023
30b4cef
Rollup merge of #118471 - filenine:fix-typos, r=workingjubilee
matthiaskrgr Dec 5, 2023
fddda14
Rollup merge of #118594 - hdost:patch-1, r=fmease
matthiaskrgr Dec 5, 2023
81b6263
Rollup merge of #118598 - Nadrieril:remove_precise_pointer_size_match…
matthiaskrgr Dec 5, 2023
a260acc
Rollup merge of #118606 - long-long-float:x-do-not-quit-when-x-prints…
matthiaskrgr Dec 5, 2023
c6c0c65
Rollup merge of #118608 - fee1-dead-contrib:backdoor-in-askconv, r=co…
matthiaskrgr Dec 5, 2023
4b40b1b
Rollup merge of #118614 - rustbot:docs-update, r=ehuss
matthiaskrgr Dec 5, 2023
d367db2
Rollup merge of #118637 - Enselic:query-instability-2, r=cjgillot
matthiaskrgr Dec 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion compiler/rustc_driver_impl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#![feature(let_chains)]
#![feature(panic_update_hook)]
#![recursion_limit = "256"]
#![allow(rustc::potential_query_instability)]
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]

Expand Down
1 change: 0 additions & 1 deletion compiler/rustc_interface/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#![feature(let_chains)]
#![feature(try_blocks)]
#![recursion_limit = "256"]
#![allow(rustc::potential_query_instability)]
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]

Expand Down
7 changes: 7 additions & 0 deletions compiler/rustc_interface/src/passes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ fn early_lint_checks(tcx: TyCtxt<'_>, (): ()) {

// Gate identifiers containing invalid Unicode codepoints that were recovered during lexing.
sess.parse_sess.bad_unicode_identifiers.with_lock(|identifiers| {
// We will soon sort, so the initial order does not matter.
#[allow(rustc::potential_query_instability)]
let mut identifiers: Vec<_> = identifiers.drain().collect();
identifiers.sort_by_key(|&(key, _)| key);
for (ident, mut spans) in identifiers.into_iter() {
Expand Down Expand Up @@ -431,6 +433,9 @@ fn write_out_deps(tcx: TyCtxt<'_>, outputs: &OutputFilenames, out_filenames: &[P
escape_dep_filename(&file.prefer_local().to_string())
};

// The entries will be used to declare dependencies beween files in a
// Makefile-like output, so the iteration order does not matter.
#[allow(rustc::potential_query_instability)]
let extra_tracked_files =
file_depinfo.iter().map(|path_sym| normalize_path(PathBuf::from(path_sym.as_str())));
files.extend(extra_tracked_files);
Expand Down Expand Up @@ -486,6 +491,8 @@ fn write_out_deps(tcx: TyCtxt<'_>, outputs: &OutputFilenames, out_filenames: &[P
// Emit special comments with information about accessed environment variables.
let env_depinfo = sess.parse_sess.env_depinfo.borrow();
if !env_depinfo.is_empty() {
// We will soon sort, so the initial order does not matter.
#[allow(rustc::potential_query_instability)]
let mut envs: Vec<_> = env_depinfo
.iter()
.map(|(k, v)| (escape_dep_env(*k), v.map(escape_dep_env)))
Expand Down
1 change: 0 additions & 1 deletion compiler/rustc_symbol_mangling/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
#![allow(internal_features)]
#![feature(never_type)]
#![recursion_limit = "256"]
#![allow(rustc::potential_query_instability)]
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]

Expand Down