Skip to content

Commit 9fa862f

Browse files
committed
Auto merge of #124694 - compiler-errors:rollup-pfou5uu, r=compiler-errors
Rollup of 8 pull requests Successful merges: - #124418 (Use a proof tree visitor to refine the `Obligation` for error reporting in new solver) - #124480 (Change `SIGPIPE` ui from `#[unix_sigpipe = "..."]` to `-Zon-broken-pipe=...`) - #124648 (Trim crate graph) - #124656 (release notes 1.78: add link to interior-mut breaking change) - #124658 (Migrate `run-make/doctests-keep-binaries` to new rmake.rs format) - #124678 (Stabilize `split_at_checked`) - #124681 (zkvm: fix run_tests) - #124687 (Make `Bounds.clauses` private) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 2c4bf24 + a55d30f commit 9fa862f

File tree

123 files changed

+778
-551
lines changed

Some content is hidden

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

123 files changed

+778
-551
lines changed

Cargo.lock

-4
Original file line numberDiff line numberDiff line change
@@ -3824,7 +3824,6 @@ dependencies = [
38243824
"rustc_session",
38253825
"rustc_smir",
38263826
"rustc_span",
3827-
"rustc_symbol_mangling",
38283827
"rustc_target",
38293828
"rustc_trait_selection",
38303829
"rustc_ty_utils",
@@ -4008,7 +4007,6 @@ dependencies = [
40084007
"rustc_data_structures",
40094008
"rustc_errors",
40104009
"rustc_fluent_macro",
4011-
"rustc_graphviz",
40124010
"rustc_hir",
40134011
"rustc_hir_analysis",
40144012
"rustc_hir_pretty",
@@ -4468,7 +4466,6 @@ dependencies = [
44684466
"rustc_errors",
44694467
"rustc_fluent_macro",
44704468
"rustc_hir",
4471-
"rustc_hir_analysis",
44724469
"rustc_macros",
44734470
"rustc_middle",
44744471
"rustc_session",
@@ -4515,7 +4512,6 @@ dependencies = [
45154512
"rustc_session",
45164513
"rustc_span",
45174514
"rustc_target",
4518-
"rustc_type_ir",
45194515
"smallvec",
45204516
"thin-vec",
45214517
"tracing",

RELEASES.md

+4
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ Compatibility Notes
102102
- [Change equality of higher ranked types to not rely on subtyping](https://github.com/rust-lang/rust/pull/118247)
103103
- [When called, additionally check bounds on normalized function return type](https://github.com/rust-lang/rust/pull/118882)
104104
- [Expand coverage for `arithmetic_overflow` lint](https://github.com/rust-lang/rust/pull/119432/)
105+
- [Fix detection of potential interior mutability in `const` initializers](https://github.com/rust-lang/rust/issues/121250)
106+
This code was accidentally accepted. The fix can break generic code that borrows a value of unknown type,
107+
as there is currently no way to declare "this type has no interior mutability". In the future, stabilizing
108+
the [`Freeze` trait](https://github.com/rust-lang/rust/issues/121675) will allow proper support for such code.
105109

106110
<a id="1.78.0-Internal-Changes"></a>
107111

compiler/rustc/src/main.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(unix_sigpipe)]
2-
31
// A note about jemalloc: rustc uses jemalloc when built for CI and
42
// distribution. The obvious way to do this is with the `#[global_allocator]`
53
// mechanism. However, for complicated reasons (see
@@ -34,7 +32,6 @@
3432
// https://github.com/rust-lang/rust/commit/b90cfc887c31c3e7a9e6d462e2464db1fe506175#diff-43914724af6e464c1da2171e4a9b6c7e607d5bc1203fa95c0ab85be4122605ef
3533
// for an example of how to do so.
3634

37-
#[unix_sigpipe = "sig_dfl"]
3835
fn main() {
3936
// See the comment at the top of this file for an explanation of this.
4037
#[cfg(feature = "jemalloc-sys")]

compiler/rustc_builtin_macros/src/format.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ fn make_format_args(
307307
return ExpandResult::Ready(Err(guar));
308308
}
309309

310-
let to_span = |inner_span: rustc_parse_format::InnerSpan| {
310+
let to_span = |inner_span: parse::InnerSpan| {
311311
is_source_literal.then(|| {
312312
fmt_span.from_inner(InnerSpan { start: inner_span.start, end: inner_span.end })
313313
})
@@ -577,7 +577,7 @@ fn make_format_args(
577577
fn invalid_placeholder_type_error(
578578
ecx: &ExtCtxt<'_>,
579579
ty: &str,
580-
ty_span: Option<rustc_parse_format::InnerSpan>,
580+
ty_span: Option<parse::InnerSpan>,
581581
fmt_span: Span,
582582
) {
583583
let sp = ty_span.map(|sp| fmt_span.from_inner(InnerSpan::new(sp.start, sp.end)));

compiler/rustc_driver_impl/Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ rustc_privacy = { path = "../rustc_privacy" }
4242
rustc_query_system = { path = "../rustc_query_system" }
4343
rustc_resolve = { path = "../rustc_resolve" }
4444
rustc_session = { path = "../rustc_session" }
45-
rustc_smir ={ path = "../rustc_smir" }
45+
rustc_smir = { path = "../rustc_smir" }
4646
rustc_span = { path = "../rustc_span" }
47-
rustc_symbol_mangling = { path = "../rustc_symbol_mangling" }
4847
rustc_target = { path = "../rustc_target" }
4948
rustc_trait_selection = { path = "../rustc_trait_selection" }
5049
rustc_ty_utils = { path = "../rustc_ty_utils" }

compiler/rustc_errors/src/diagnostic_impls.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use rustc_span::symbol::{Ident, MacroRulesNormalizedIdent, Symbol};
1313
use rustc_span::Span;
1414
use rustc_target::abi::TargetDataLayoutErrors;
1515
use rustc_target::spec::{PanicStrategy, SplitDebuginfo, StackProtector, TargetTriple};
16-
use rustc_type_ir as type_ir;
16+
use rustc_type_ir::{ClosureKind, FloatTy};
1717
use std::backtrace::Backtrace;
1818
use std::borrow::Cow;
1919
use std::fmt;
@@ -196,7 +196,7 @@ impl IntoDiagArg for ast::token::TokenKind {
196196
}
197197
}
198198

199-
impl IntoDiagArg for type_ir::FloatTy {
199+
impl IntoDiagArg for FloatTy {
200200
fn into_diag_arg(self) -> DiagArgValue {
201201
DiagArgValue::Str(Cow::Borrowed(self.name_str()))
202202
}
@@ -252,7 +252,7 @@ impl IntoDiagArg for Level {
252252
}
253253
}
254254

255-
impl IntoDiagArg for type_ir::ClosureKind {
255+
impl IntoDiagArg for ClosureKind {
256256
fn into_diag_arg(self) -> DiagArgValue {
257257
DiagArgValue::Str(self.as_str().into())
258258
}

compiler/rustc_feature/src/builtin_attrs.rs

-4
Original file line numberDiff line numberDiff line change
@@ -396,10 +396,6 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
396396
),
397397

398398
// Entry point:
399-
gated!(
400-
unix_sigpipe, Normal, template!(NameValueStr: "inherit|sig_ign|sig_dfl"), ErrorFollowing,
401-
EncodeCrossCrate::Yes, experimental!(unix_sigpipe)
402-
),
403399
ungated!(start, Normal, template!(Word), WarnFollowing, EncodeCrossCrate::No),
404400
ungated!(no_start, CrateLevel, template!(Word), WarnFollowing, EncodeCrossCrate::No),
405401
ungated!(no_main, CrateLevel, template!(Word), WarnFollowing, EncodeCrossCrate::No),

compiler/rustc_feature/src/unstable.rs

-2
Original file line numberDiff line numberDiff line change
@@ -619,8 +619,6 @@ declare_features! (
619619
/// Allows creation of instances of a struct by moving fields that have
620620
/// not changed from prior instances of the same struct (RFC #2528)
621621
(unstable, type_changing_struct_update, "1.58.0", Some(86555)),
622-
/// Enables rustc to generate code that instructs libstd to NOT ignore SIGPIPE.
623-
(unstable, unix_sigpipe, "1.65.0", Some(97889)),
624622
/// Allows unnamed fields of struct and union type
625623
(incomplete, unnamed_fields, "1.74.0", Some(49804)),
626624
/// Allows unsized fn parameters.

compiler/rustc_hir_analysis/src/bounds.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use rustc_span::Span;
2323
/// include the self type (e.g., `trait_bounds`) but in others we do not
2424
#[derive(Default, PartialEq, Eq, Clone, Debug)]
2525
pub struct Bounds<'tcx> {
26-
pub clauses: Vec<(ty::Clause<'tcx>, Span)>,
26+
clauses: Vec<(ty::Clause<'tcx>, Span)>,
2727
}
2828

2929
impl<'tcx> Bounds<'tcx> {

compiler/rustc_hir_typeck/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ rustc_attr = { path = "../rustc_attr" }
1212
rustc_data_structures = { path = "../rustc_data_structures" }
1313
rustc_errors = { path = "../rustc_errors" }
1414
rustc_fluent_macro = { path = "../rustc_fluent_macro" }
15-
rustc_graphviz = { path = "../rustc_graphviz" }
1615
rustc_hir = { path = "../rustc_hir" }
1716
rustc_hir_analysis = { path = "../rustc_hir_analysis" }
1817
rustc_hir_pretty = { path = "../rustc_hir_pretty" }

compiler/rustc_hir_typeck/src/pat.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use rustc_hir::pat_util::EnumerateAndAdjustIterator;
1010
use rustc_hir::{self as hir, BindingMode, ByRef, HirId, Mutability, Pat, PatKind};
1111
use rustc_infer::infer;
1212
use rustc_infer::infer::type_variable::TypeVariableOrigin;
13-
use rustc_lint as lint;
1413
use rustc_middle::mir::interpret::ErrorHandled;
1514
use rustc_middle::ty::{self, Ty, TypeVisitableExt};
1615
use rustc_session::lint::builtin::NON_EXHAUSTIVE_OMITTED_PATTERNS;
@@ -684,7 +683,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
684683
{
685684
// `mut x` resets the binding mode in edition <= 2021.
686685
self.tcx.emit_node_span_lint(
687-
lint::builtin::DEREFERENCING_MUT_BINDING,
686+
rustc_lint::builtin::DEREFERENCING_MUT_BINDING,
688687
pat.hir_id,
689688
pat.span,
690689
errors::DereferencingMutBinding { span: pat.span },

compiler/rustc_interface/src/passes.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use crate::proc_macro_decls;
44
use crate::util;
55

66
use rustc_ast::{self as ast, visit};
7-
use rustc_borrowck as mir_borrowck;
87
use rustc_codegen_ssa::traits::CodegenBackend;
98
use rustc_data_structures::parallel;
109
use rustc_data_structures::steal::Steal;
@@ -20,7 +19,6 @@ use rustc_middle::arena::Arena;
2019
use rustc_middle::dep_graph::DepGraph;
2120
use rustc_middle::ty::{self, GlobalCtxt, RegisteredTools, TyCtxt};
2221
use rustc_middle::util::Providers;
23-
use rustc_mir_build as mir_build;
2422
use rustc_parse::{parse_crate_from_file, parse_crate_from_source_str, validate_attr};
2523
use rustc_passes::{abi_test, hir_stats, layout_test};
2624
use rustc_resolve::Resolver;
@@ -616,8 +614,8 @@ pub static DEFAULT_QUERY_PROVIDERS: LazyLock<Providers> = LazyLock::new(|| {
616614
proc_macro_decls::provide(providers);
617615
rustc_const_eval::provide(providers);
618616
rustc_middle::hir::provide(providers);
619-
mir_borrowck::provide(providers);
620-
mir_build::provide(providers);
617+
rustc_borrowck::provide(providers);
618+
rustc_mir_build::provide(providers);
621619
rustc_mir_transform::provide(providers);
622620
rustc_monomorphize::provide(providers);
623621
rustc_privacy::provide(providers);

compiler/rustc_interface/src/tests.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use rustc_span::source_map::{RealFileLoader, SourceMapInputs};
2020
use rustc_span::symbol::sym;
2121
use rustc_span::{FileName, SourceFileHashAlgorithm};
2222
use rustc_target::spec::{
23-
CodeModel, LinkerFlavorCli, MergeFunctions, PanicStrategy, RelocModel, WasmCAbi,
23+
CodeModel, LinkerFlavorCli, MergeFunctions, OnBrokenPipe, PanicStrategy, RelocModel, WasmCAbi,
2424
};
2525
use rustc_target::spec::{RelroLevel, SanitizerSet, SplitDebuginfo, StackProtector, TlsModel};
2626
use std::collections::{BTreeMap, BTreeSet};
@@ -809,6 +809,7 @@ fn test_unstable_options_tracking_hash() {
809809
tracked!(no_profiler_runtime, true);
810810
tracked!(no_trait_vptr, true);
811811
tracked!(no_unique_section_names, true);
812+
tracked!(on_broken_pipe, OnBrokenPipe::Kill);
812813
tracked!(oom, OomStrategy::Panic);
813814
tracked!(osx_rpath_install_name, true);
814815
tracked!(packed_bundled_libs, true);

compiler/rustc_interface/src/util.rs

+4-6
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,16 @@ use rustc_data_structures::sync;
77
use rustc_metadata::{load_symbol_from_dylib, DylibError};
88
use rustc_middle::ty::CurrentGcx;
99
use rustc_parse::validate_attr;
10-
use rustc_session as session;
11-
use rustc_session::config::{Cfg, OutFileName, OutputFilenames, OutputTypes};
10+
use rustc_session::config::{host_triple, Cfg, OutFileName, OutputFilenames, OutputTypes};
1211
use rustc_session::filesearch::sysroot_candidates;
1312
use rustc_session::lint::{self, BuiltinLintDiag, LintBuffer};
14-
use rustc_session::{filesearch, Session};
13+
use rustc_session::output::{categorize_crate_type, CRATE_TYPES};
14+
use rustc_session::{filesearch, EarlyDiagCtxt, Session};
1515
use rustc_span::edit_distance::find_best_match_for_name;
1616
use rustc_span::edition::Edition;
1717
use rustc_span::source_map::SourceMapInputs;
1818
use rustc_span::symbol::sym;
1919
use rustc_target::spec::Target;
20-
use session::output::{categorize_crate_type, CRATE_TYPES};
21-
use session::EarlyDiagCtxt;
2220
use std::env::consts::{DLL_PREFIX, DLL_SUFFIX};
2321
use std::path::{Path, PathBuf};
2422
use std::sync::atomic::{AtomicBool, Ordering};
@@ -286,7 +284,7 @@ fn get_codegen_sysroot(
286284
"cannot load the default codegen backend twice"
287285
);
288286

289-
let target = session::config::host_triple();
287+
let target = host_triple();
290288
let sysroot_candidates = sysroot_candidates();
291289

292290
let sysroot = iter::once(sysroot)

compiler/rustc_middle/src/traits/solve.rs

+2
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,8 @@ pub enum GoalSource {
273273
/// they are from an impl where-clause. This is necessary due to
274274
/// backwards compatability, cc trait-system-refactor-initiatitive#70.
275275
ImplWhereBound,
276+
/// Instantiating a higher-ranked goal and re-proving it.
277+
InstantiateHigherRanked,
276278
}
277279

278280
/// Possible ways the given goal can be proven.

compiler/rustc_middle/src/traits/solve/inspect/format.rs

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ impl<'a, 'b> ProofTreeFormatter<'a, 'b> {
127127
let source = match source {
128128
GoalSource::Misc => "misc",
129129
GoalSource::ImplWhereBound => "impl where-bound",
130+
GoalSource::InstantiateHigherRanked => "higher-ranked goal",
130131
};
131132
writeln!(this.f, "ADDED GOAL ({source}): {goal:?}")?
132133
}

compiler/rustc_passes/messages.ftl

-3
Original file line numberDiff line numberDiff line change
@@ -695,9 +695,6 @@ passes_transparent_incompatible =
695695
passes_undefined_naked_function_abi =
696696
Rust ABI is unsupported in naked functions
697697
698-
passes_unix_sigpipe_values =
699-
valid values for `#[unix_sigpipe = "..."]` are `inherit`, `sig_ign`, or `sig_dfl`
700-
701698
passes_unknown_external_lang_item =
702699
unknown external lang item: `{$lang_item}`
703700

compiler/rustc_passes/src/check_attr.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2523,7 +2523,6 @@ fn check_invalid_crate_level_attr(tcx: TyCtxt<'_>, attrs: &[Attribute]) {
25232523
sym::automatically_derived,
25242524
sym::start,
25252525
sym::rustc_main,
2526-
sym::unix_sigpipe,
25272526
sym::derive,
25282527
sym::test,
25292528
sym::test_case,

compiler/rustc_passes/src/entry.rs

+10-33
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ use rustc_span::symbol::sym;
1212
use rustc_span::{Span, Symbol};
1313

1414
use crate::errors::{
15-
AttrOnlyInFunctions, AttrOnlyOnMain, AttrOnlyOnRootMain, ExternMain, MultipleRustcMain,
16-
MultipleStartFunctions, NoMainErr, UnixSigpipeValues,
15+
AttrOnlyInFunctions, ExternMain, MultipleRustcMain, MultipleStartFunctions, NoMainErr,
1716
};
1817

1918
struct EntryContext<'tcx> {
@@ -67,11 +66,7 @@ fn find_item(id: ItemId, ctxt: &mut EntryContext<'_>) {
6766
ctxt.tcx.opt_item_name(id.owner_id.to_def_id()),
6867
);
6968
match entry_point_type {
70-
EntryPointType::None => {
71-
if let Some(span) = attr_span_by_symbol(ctxt, id, sym::unix_sigpipe) {
72-
ctxt.tcx.dcx().emit_err(AttrOnlyOnMain { span, attr: sym::unix_sigpipe });
73-
}
74-
}
69+
EntryPointType::None => (),
7570
_ if !matches!(ctxt.tcx.def_kind(id.owner_id), DefKind::Fn) => {
7671
for attr in [sym::start, sym::rustc_main] {
7772
if let Some(span) = attr_span_by_symbol(ctxt, id, attr) {
@@ -81,9 +76,6 @@ fn find_item(id: ItemId, ctxt: &mut EntryContext<'_>) {
8176
}
8277
EntryPointType::MainNamed => (),
8378
EntryPointType::OtherMain => {
84-
if let Some(span) = attr_span_by_symbol(ctxt, id, sym::unix_sigpipe) {
85-
ctxt.tcx.dcx().emit_err(AttrOnlyOnRootMain { span, attr: sym::unix_sigpipe });
86-
}
8779
ctxt.non_main_fns.push(ctxt.tcx.def_span(id.owner_id));
8880
}
8981
EntryPointType::RustcMainAttr => {
@@ -98,9 +90,6 @@ fn find_item(id: ItemId, ctxt: &mut EntryContext<'_>) {
9890
}
9991
}
10092
EntryPointType::Start => {
101-
if let Some(span) = attr_span_by_symbol(ctxt, id, sym::unix_sigpipe) {
102-
ctxt.tcx.dcx().emit_err(AttrOnlyOnMain { span, attr: sym::unix_sigpipe });
103-
}
10493
if ctxt.start_fn.is_none() {
10594
ctxt.start_fn = Some((id.owner_id.def_id, ctxt.tcx.def_span(id.owner_id)));
10695
} else {
@@ -120,7 +109,7 @@ fn configure_main(tcx: TyCtxt<'_>, visitor: &EntryContext<'_>) -> Option<(DefId,
120109
Some((def_id.to_def_id(), EntryFnType::Start))
121110
} else if let Some((local_def_id, _)) = visitor.attr_main_fn {
122111
let def_id = local_def_id.to_def_id();
123-
Some((def_id, EntryFnType::Main { sigpipe: sigpipe(tcx, def_id) }))
112+
Some((def_id, EntryFnType::Main { sigpipe: sigpipe(tcx) }))
124113
} else {
125114
if let Some(main_def) = tcx.resolutions(()).main_def
126115
&& let Some(def_id) = main_def.opt_fn_def_id()
@@ -133,31 +122,19 @@ fn configure_main(tcx: TyCtxt<'_>, visitor: &EntryContext<'_>) -> Option<(DefId,
133122
return None;
134123
}
135124

136-
return Some((def_id, EntryFnType::Main { sigpipe: sigpipe(tcx, def_id) }));
125+
return Some((def_id, EntryFnType::Main { sigpipe: sigpipe(tcx) }));
137126
}
138127
no_main_err(tcx, visitor);
139128
None
140129
}
141130
}
142131

143-
fn sigpipe(tcx: TyCtxt<'_>, def_id: DefId) -> u8 {
144-
if let Some(attr) = tcx.get_attr(def_id, sym::unix_sigpipe) {
145-
match (attr.value_str(), attr.meta_item_list()) {
146-
(Some(sym::inherit), None) => sigpipe::INHERIT,
147-
(Some(sym::sig_ign), None) => sigpipe::SIG_IGN,
148-
(Some(sym::sig_dfl), None) => sigpipe::SIG_DFL,
149-
(Some(_), None) => {
150-
tcx.dcx().emit_err(UnixSigpipeValues { span: attr.span });
151-
sigpipe::DEFAULT
152-
}
153-
_ => {
154-
// Keep going so that `fn emit_malformed_attribute()` can print
155-
// an excellent error message
156-
sigpipe::DEFAULT
157-
}
158-
}
159-
} else {
160-
sigpipe::DEFAULT
132+
fn sigpipe(tcx: TyCtxt<'_>) -> u8 {
133+
match tcx.sess.opts.unstable_opts.on_broken_pipe {
134+
rustc_target::spec::OnBrokenPipe::Default => sigpipe::DEFAULT,
135+
rustc_target::spec::OnBrokenPipe::Kill => sigpipe::SIG_DFL,
136+
rustc_target::spec::OnBrokenPipe::Error => sigpipe::SIG_IGN,
137+
rustc_target::spec::OnBrokenPipe::Inherit => sigpipe::INHERIT,
161138
}
162139
}
163140

compiler/rustc_passes/src/errors.rs

-7
Original file line numberDiff line numberDiff line change
@@ -1259,13 +1259,6 @@ pub struct ExternMain {
12591259
pub span: Span,
12601260
}
12611261

1262-
#[derive(Diagnostic)]
1263-
#[diag(passes_unix_sigpipe_values)]
1264-
pub struct UnixSigpipeValues {
1265-
#[primary_span]
1266-
pub span: Span,
1267-
}
1268-
12691262
pub struct NoMainErr {
12701263
pub sp: Span,
12711264
pub crate_name: Symbol,

compiler/rustc_privacy/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ rustc_data_structures = { path = "../rustc_data_structures" }
1111
rustc_errors = { path = "../rustc_errors" }
1212
rustc_fluent_macro = { path = "../rustc_fluent_macro" }
1313
rustc_hir = { path = "../rustc_hir" }
14-
rustc_hir_analysis = { path = "../rustc_hir_analysis" }
1514
rustc_macros = { path = "../rustc_macros" }
1615
rustc_middle = { path = "../rustc_middle" }
1716
rustc_session = { path = "../rustc_session" }

compiler/rustc_query_system/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ rustc_serialize = { path = "../rustc_serialize" }
1919
rustc_session = { path = "../rustc_session" }
2020
rustc_span = { path = "../rustc_span" }
2121
rustc_target = { path = "../rustc_target" }
22-
rustc_type_ir = { path = "../rustc_type_ir" }
2322
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
2423
thin-vec = "0.2.12"
2524
tracing = "0.1"

0 commit comments

Comments
 (0)