Skip to content

Commit 4e2ede2

Browse files
Merge pull request #2802 from rust-lang/rustc-pull
Rustc pull update
2 parents ab8492d + 7af2fef commit 4e2ede2

409 files changed

Lines changed: 8657 additions & 3410 deletions

File tree

Some content is hidden

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

Cargo.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,9 +1140,9 @@ version = "0.1.96"
11401140

11411141
[[package]]
11421142
name = "derive-where"
1143-
version = "1.6.0"
1143+
version = "1.6.1"
11441144
source = "registry+https://github.com/rust-lang/crates.io-index"
1145-
checksum = "ef941ded77d15ca19b40374869ac6000af1c9f2a4c0f3d4c70926287e6364a8f"
1145+
checksum = "d08b3a0bcc0d079199cd476b2cae8435016ec11d1c0986c6901c5ac223041534"
11461146
dependencies = [
11471147
"proc-macro2",
11481148
"quote",

bootstrap.example.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,9 +1013,10 @@
10131013
# its historical default, but when compiling the compiler itself, we skip it by
10141014
# default since we know it's safe to do so in that case.
10151015
#
1016-
# On Windows platforms, packed debuginfo is the only supported option,
1017-
# producing a `.pdb` file.
1018-
#split-debuginfo = if linux { off } else if windows { packed } else if apple { unpacked }
1016+
# On Windows MSVC platforms, packed debuginfo is the only supported option,
1017+
# producing a `.pdb` file. On Windows GNU rustc doesn't support splitting debuginfo,
1018+
# and enabling it causes issues.
1019+
#split-debuginfo = if linux || windows-gnu { off } else if windows-msvc { packed } else if apple { unpacked }
10191020

10201021
# Path to the `llvm-config` binary of the installation of a custom LLVM to link
10211022
# against. Note that if this is specified we don't compile LLVM at all for this

compiler/rustc_ast_lowering/src/asm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use crate::{
2323
AllowReturnTypeNotation, ImplTraitContext, ImplTraitPosition, ParamMode, ResolverAstLoweringExt,
2424
};
2525

26-
impl<'a, 'hir> LoweringContext<'a, 'hir> {
26+
impl<'hir, R: ResolverAstLoweringExt<'hir>> LoweringContext<'_, 'hir, R> {
2727
pub(crate) fn lower_inline_asm(
2828
&mut self,
2929
sp: Span,

compiler/rustc_ast_lowering/src/block.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ use rustc_hir::Target;
44
use rustc_span::sym;
55
use smallvec::SmallVec;
66

7-
use crate::{ImplTraitContext, ImplTraitPosition, LoweringContext};
7+
use crate::{ImplTraitContext, ImplTraitPosition, LoweringContext, ResolverAstLoweringExt};
88

9-
impl<'a, 'hir> LoweringContext<'a, 'hir> {
9+
impl<'hir, R: ResolverAstLoweringExt<'hir>> LoweringContext<'_, 'hir, R> {
1010
pub(super) fn lower_block(
1111
&mut self,
1212
b: &Block,

compiler/rustc_ast_lowering/src/contract.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ use std::sync::Arc;
22

33
use thin_vec::thin_vec;
44

5-
use crate::LoweringContext;
5+
use crate::{LoweringContext, ResolverAstLoweringExt};
66

7-
impl<'a, 'hir> LoweringContext<'a, 'hir> {
7+
impl<'hir, R: ResolverAstLoweringExt<'hir>> LoweringContext<'_, 'hir, R> {
88
/// Lowered contracts are guarded with the `contract_checks` compiler flag,
99
/// i.e. the flag turns into a boolean guard in the lowered HIR. The reason
1010
/// for not eliminating the contract code entirely when the `contract_checks`

0 commit comments

Comments
 (0)