Merge from rustc · rust-lang/rust@1d0ad04

File tree

71 files changed

lines changed

    • rustc_incremental/src/persist

    • run-make/rustdoc-with-output-option

      • const-generics/generic_const_exprs

71 files changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -4252,6 +4252,7 @@ dependencies = [

42524252

"rustc_fluent_macro",

42534253

"rustc_hir",

42544254

"rustc_index",

4255+

"rustc_infer",

42554256

"rustc_macros",

42564257

"rustc_middle",

42574258

"rustc_mir_build",

Original file line numberDiff line numberDiff line change

@@ -29,8 +29,8 @@ use rustc_middle::middle::debugger_visualizer::{DebuggerVisualizerFile, Debugger

2929

use rustc_middle::middle::exported_symbols;

3030

use rustc_middle::middle::exported_symbols::SymbolExportKind;

3131

use rustc_middle::middle::lang_items;

32-

use rustc_middle::mir::BinOp;

3332

use rustc_middle::mir::mono::{CodegenUnit, CodegenUnitNameBuilder, MonoItem};

33+

use rustc_middle::mir::BinOp;

3434

use rustc_middle::query::Providers;

3535

use rustc_middle::ty::layout::{HasTyCtxt, LayoutOf, TyAndLayout};

3636

use rustc_middle::ty::{self, Instance, Ty, TyCtxt};

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

File renamed without changes.

Original file line numberDiff line numberDiff line change

@@ -139,10 +139,9 @@ where

139139

ErrorHandled::TooGeneric(span)

140140

}

141141

err_inval!(AlreadyReported(guar)) => ErrorHandled::Reported(guar, span),

142-

err_inval!(Layout(LayoutError::ReferencesError(guar))) => ErrorHandled::Reported(

143-

ReportedErrorInfo::tainted_by_errors(guar),

144-

span,

145-

),

142+

err_inval!(Layout(LayoutError::ReferencesError(guar))) => {

143+

ErrorHandled::Reported(ReportedErrorInfo::tainted_by_errors(guar), span)

144+

}

146145

// Report remaining errors.

147146

_ => {

148147

let (our_span, frames) = get_span_and_frames();

Original file line numberDiff line numberDiff line change

@@ -14,10 +14,10 @@

1414

#![feature(yeet_expr)]

1515

#![feature(if_let_guard)]

1616
17+

pub mod check_consts;

1718

pub mod const_eval;

1819

mod errors;

1920

pub mod interpret;

20-

pub mod transform;

2121

pub mod util;

2222
2323

use std::sync::atomic::AtomicBool;