Skip to content

Commit e96bcca

Browse files
Rollup merge of #152217 - JonathanBrouwer:convert_line, r=jdonszelmann
Convert to inline diagnostics in `rustc_lint` For #151366 r? @jdonszelmann This was a big one! Second to last one, `rustc_parse` is the last one and even bigger :P
2 parents 0471141 + 580c8d3 commit e96bcca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1492
-5593
lines changed

Cargo.lock

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3888,19 +3888,6 @@ dependencies = [
38883888
"serde_json",
38893889
]
38903890

3891-
[[package]]
3892-
name = "rustc_fluent_macro"
3893-
version = "0.0.0"
3894-
dependencies = [
3895-
"annotate-snippets 0.11.5",
3896-
"fluent-bundle",
3897-
"fluent-syntax",
3898-
"proc-macro2",
3899-
"quote",
3900-
"syn 2.0.110",
3901-
"unic-langid",
3902-
]
3903-
39043891
[[package]]
39053892
name = "rustc_fs_util"
39063893
version = "0.0.0"
@@ -4143,7 +4130,6 @@ dependencies = [
41434130
"rustc_data_structures",
41444131
"rustc_errors",
41454132
"rustc_feature",
4146-
"rustc_fluent_macro",
41474133
"rustc_hir",
41484134
"rustc_index",
41494135
"rustc_infer",

compiler/rustc_driver_impl/src/lib.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,7 @@ pub fn default_translator() -> Translator {
111111
Translator::with_fallback_bundle(DEFAULT_LOCALE_RESOURCES.to_vec(), false)
112112
}
113113

114-
pub static DEFAULT_LOCALE_RESOURCES: &[&str] = &[
115-
// tidy-alphabetical-start
116-
rustc_lint::DEFAULT_LOCALE_RESOURCE,
117-
// tidy-alphabetical-end
118-
];
114+
pub static DEFAULT_LOCALE_RESOURCES: &[&str] = &[];
119115

120116
/// Exit status code used for successful compilation and help output.
121117
pub const EXIT_SUCCESS: i32 = 0;

compiler/rustc_fluent_macro/Cargo.toml

Lines changed: 0 additions & 18 deletions
This file was deleted.

compiler/rustc_fluent_macro/src/fluent.rs

Lines changed: 0 additions & 315 deletions
This file was deleted.

0 commit comments

Comments
 (0)