Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
8a9a234
Auto merge of #145093 - nikic:dead-on-return, r=nnethercote
bors Aug 13, 2025
dea8ae5
Auto merge of #142071 - lcnr:revealing-use, r=compiler-errors
bors Aug 15, 2025
3f2d08d
Auto merge of #144081 - RalfJung:const-ptr-fragments, r=oli-obk
bors Aug 17, 2025
a40028e
Auto merge of #145348 - nnethercote:parse_token_tree-speedup-for-uom,…
bors Aug 20, 2025
266853e
Auto merge of #144841 - cjgillot:typeck-no-attrs, r=davidtwco
bors Aug 27, 2025
0bfb114
Auto merge of #144783 - folkertdev:loop-match-diverging-loop, r=Sparr…
bors Sep 1, 2025
859ee5e
Auto merge of #139849 - thaliaarchi:args/zkvm, r=ibraheemdev
bors Sep 17, 2025
bbc6f6e
Auto merge of #146805 - lnicola:sync-from-ra, r=lnicola
bors Sep 20, 2025
9d66830
Auto merge of #146779 - GuillaumeGomez:gcc-ignore-test_ui_abi, r=Kobz…
bors Sep 21, 2025
a682df1
Auto merge of #146659 - cjgillot:impossible-taint, r=oli-obk
bors Sep 21, 2025
26cc777
Auto merge of #146683 - clarfonthey:safe-intrinsics, r=RalfJung,Amanieu
bors Sep 22, 2025
fbfb261
Switch next-solver related rustc dependencies of r-a to crates.io ones
ShoyuVanilla Sep 24, 2025
529d6da
Auto merge of #146338 - CrooseGit:dev/reucru01/AArch64-enable-GCS, r=…
bors Sep 24, 2025
07b34d1
Rollup merge of #146711 - lcnr:fix-placeholder-ice, r=lqd
matthiaskrgr Sep 24, 2025
4a79d99
Rollup merge of #146932 - ShoyuVanilla:ra-in-tree-hack, r=lcnr
matthiaskrgr Sep 24, 2025
5f39738
Rollup merge of #146959 - tshepang:patch-2, r=nnethercote
matthiaskrgr Sep 24, 2025
cc99b45
Rollup merge of #146964 - Ayush1325:close-protocol, r=joboet
matthiaskrgr Sep 24, 2025
9c32980
Rollup merge of #146969 - RalfJung:maybe-null-errors, r=oli-obk
matthiaskrgr Sep 24, 2025
0f345ed
Auto merge of #146999 - matthiaskrgr:rollup-0gbkm82, r=matthiaskrgr
bors Sep 24, 2025
8030da1
Prepare for merging from rust-lang/rust
invalid-email-address Sep 25, 2025
f69f3a6
Merge ref 'caccb4d0368b' from rust-lang/rust
invalid-email-address Sep 25, 2025
dc2096c
Also install rustfmt on stable
lnicola Sep 25, 2025
2e22e94
Install cargo for proc-macro-srv tests
lnicola Sep 25, 2025
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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
# Install a pinned rustc commit to avoid surprises
- name: Install Rust toolchain
run: |
RUSTC_VERSION=`cat rust-version`
rustup-toolchain-install-master ${RUSTC_VERSION} -c rust-src -c rustfmt
RUSTC_VERSION=$(cat rust-version)
rustup-toolchain-install-master ${RUSTC_VERSION} -c cargo -c rust-src -c rustfmt
rustup default ${RUSTC_VERSION}

# Emulate a nightly toolchain, because the toolchain installed above does not have "nightly"
Expand Down Expand Up @@ -98,9 +98,9 @@ jobs:
run: |
rustup update --no-self-update stable
rustup default stable
rustup component add --toolchain stable rust-src clippy
# We always use a nightly rustfmt, regardless of channel, because we need
# --file-lines.
rustup component add --toolchain stable rust-src clippy rustfmt
# We also install a nightly rustfmt, because we use `--file-lines` in
# a test.
rustup toolchain install nightly --profile minimal --component rustfmt
# https://github.com/actions-rust-lang/setup-rust-toolchain/blob/main/rust.json
- name: Install Rust Problem Matcher
Expand Down
4 changes: 0 additions & 4 deletions crates/hir-def/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ extern crate rustc_parse_format;
#[cfg(not(feature = "in-rust-tree"))]
extern crate ra_ap_rustc_parse_format as rustc_parse_format;

#[cfg(feature = "in-rust-tree")]
extern crate rustc_abi;

#[cfg(not(feature = "in-rust-tree"))]
extern crate ra_ap_rustc_abi as rustc_abi;

pub mod db;
Expand Down
31 changes: 5 additions & 26 deletions crates/hir-ty/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,24 @@

#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]

#[cfg(feature = "in-rust-tree")]
extern crate rustc_index;
// FIXME: We used to import `rustc_*` deps from `rustc_private` with `feature = "in-rust-tree" but
// temporarily switched to crates.io versions due to hardships that working on them from rustc
// demands corresponding changes on rust-analyzer at the same time.
// For details, see the zulip discussion below:
// https://rust-lang.zulipchat.com/#narrow/channel/185405-t-compiler.2Frust-analyzer/topic/relying.20on.20in-tree.20.60rustc_type_ir.60.2F.60rustc_next_trait_solver.60/with/541055689

#[cfg(not(feature = "in-rust-tree"))]
extern crate ra_ap_rustc_index as rustc_index;

#[cfg(feature = "in-rust-tree")]
extern crate rustc_abi;

#[cfg(not(feature = "in-rust-tree"))]
extern crate ra_ap_rustc_abi as rustc_abi;

#[cfg(feature = "in-rust-tree")]
extern crate rustc_pattern_analysis;

#[cfg(not(feature = "in-rust-tree"))]
extern crate ra_ap_rustc_pattern_analysis as rustc_pattern_analysis;

#[cfg(feature = "in-rust-tree")]
extern crate rustc_ast_ir;

#[cfg(not(feature = "in-rust-tree"))]
extern crate ra_ap_rustc_ast_ir as rustc_ast_ir;

#[cfg(feature = "in-rust-tree")]
extern crate rustc_type_ir;

#[cfg(not(feature = "in-rust-tree"))]
extern crate ra_ap_rustc_type_ir as rustc_type_ir;

#[cfg(feature = "in-rust-tree")]
extern crate rustc_next_trait_solver;

#[cfg(not(feature = "in-rust-tree"))]
extern crate ra_ap_rustc_next_trait_solver as rustc_next_trait_solver;

#[cfg(feature = "in-rust-tree")]
extern crate rustc_data_structures as ena;

mod builder;
mod chalk_db;
mod chalk_ext;
Expand Down
2 changes: 0 additions & 2 deletions crates/hir-ty/src/next_solver/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ impl<'db> Const<'db> {
internee: kind,
flags: flags.flags,
outer_exclusive_binder: flags.outer_exclusive_binder,
#[cfg(feature = "in-rust-tree")]
stable_hash: ena::fingerprint::Fingerprint::ZERO,
};
Const::new_(interner.db(), InternedWrapperNoDebug(cached))
}
Expand Down
2 changes: 0 additions & 2 deletions crates/hir-ty/src/next_solver/predicate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,6 @@ impl<'db> Predicate<'db> {
internee: kind,
flags: flags.flags,
outer_exclusive_binder: flags.outer_exclusive_binder,
#[cfg(feature = "in-rust-tree")]
stable_hash: ena::fingerprint::Fingerprint::ZERO,
};
Predicate::new_(interner.db(), InternedWrapperNoDebug(cached))
}
Expand Down
2 changes: 0 additions & 2 deletions crates/hir-ty/src/next_solver/ty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ impl<'db> Ty<'db> {
internee: kind,
flags: flags.flags,
outer_exclusive_binder: flags.outer_exclusive_binder,
#[cfg(feature = "in-rust-tree")]
stable_hash: ena::fingerprint::Fingerprint::ZERO,
};
Ty::new_(interner.db(), InternedWrapperNoDebug(cached))
}
Expand Down
4 changes: 0 additions & 4 deletions crates/hir/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
#![recursion_limit = "512"]

#[cfg(feature = "in-rust-tree")]
extern crate rustc_type_ir;

#[cfg(not(feature = "in-rust-tree"))]
extern crate ra_ap_rustc_type_ir as rustc_type_ir;

mod attrs;
Expand Down
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
21a19c297d4f5a03501d92ca251bd7a17073c08a
caccb4d0368bd918ef6668af8e13834d07040417
Loading