Skip to content

Rollup of 8 pull requests #126107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 20 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
d32d1c1
Size optimize int formatting
diondokter May 27, 2024
9b1c304
mark binding undetermined if target name exist and not obtained
bvanjoi Jun 6, 2024
c74efbc
Make middle not rely on next_trait_solver
compiler-errors May 27, 2024
82ef3ad
Uplift TypeError
compiler-errors May 27, 2024
91274c8
Uplift TypeRelation and Relate
compiler-errors Jun 4, 2024
89d86ae
Don't warn on fields in the `unreachable_pub` lint
Urgau Jun 5, 2024
a5429d5
Remove `same-lib-two-locations-no-panic` run-make test
Kobzol Jun 6, 2024
3a02cdb
Remove constant parameter from `CrateLocator::new`
Noratrieb Jun 6, 2024
4c2b21a
Simplify string operations in crate loader
Noratrieb Jun 6, 2024
b4c439c
Improve naming and path operations in crate loader
Noratrieb Jun 6, 2024
216424d
Revert "Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs…
lqd Jun 6, 2024
cddf291
Improve Docs for `hir::Impl` and `hir::ImplItem`
veera-sivarajan Jun 6, 2024
070681c
Rollup merge of #125606 - diondokter:opt-size-int-fmt, r=cuviper
workingjubilee Jun 7, 2024
ee664a5
Rollup merge of #125724 - compiler-errors:uplift-relate, r=lcnr
workingjubilee Jun 7, 2024
cfb9479
Rollup merge of #126040 - Urgau:unreachable_pub-fields-less, r=petroc…
workingjubilee Jun 7, 2024
713b9fa
Rollup merge of #126065 - bvanjoi:fix-124490, r=petrochenkov
workingjubilee Jun 7, 2024
8ed2e52
Rollup merge of #126098 - Kobzol:remove-same-lib-runmake-test, r=jiey…
workingjubilee Jun 7, 2024
37ff3dc
Rollup merge of #126099 - Nilstrieb:crate-loader-cleanups, r=jieyouxu
workingjubilee Jun 7, 2024
ee6a649
Rollup merge of #126101 - lqd:revert-124099, r=wesleywiser
workingjubilee Jun 7, 2024
cd4fd96
Rollup merge of #126103 - veera-sivarajan:improve-docs-hir-impl, r=fm…
workingjubilee Jun 7, 2024
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
Prev Previous commit
Next Next commit
Make middle not rely on next_trait_solver
  • Loading branch information
compiler-errors committed Jun 6, 2024
commit c74efbca71243fd3ccac0669d6a3d7297e49b69b
1 change: 0 additions & 1 deletion Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4392,7 +4392,6 @@ dependencies = [
"rustc_hir_pretty",
"rustc_index",
"rustc_macros",
"rustc_next_trait_solver",
"rustc_query_system",
"rustc_serialize",
"rustc_session",
Expand Down
1 change: 0 additions & 1 deletion compiler/rustc_middle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ rustc_hir = { path = "../rustc_hir" }
rustc_hir_pretty = { path = "../rustc_hir_pretty" }
rustc_index = { path = "../rustc_index" }
rustc_macros = { path = "../rustc_macros" }
rustc_next_trait_solver = { path = "../rustc_next_trait_solver" }
rustc_query_system = { path = "../rustc_query_system" }
rustc_serialize = { path = "../rustc_serialize" }
rustc_session = { path = "../rustc_session" }
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/arena.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ macro_rules! arena_types {
[] candidate_step: rustc_middle::traits::query::CandidateStep<'tcx>,
[] autoderef_bad_ty: rustc_middle::traits::query::MethodAutoderefBadTy<'tcx>,
[] canonical_goal_evaluation:
rustc_next_trait_solver::solve::inspect::CanonicalGoalEvaluationStep<
rustc_type_ir::solve::inspect::CanonicalGoalEvaluationStep<
rustc_middle::ty::TyCtxt<'tcx>
>,
[] query_region_constraints: rustc_middle::infer::canonical::QueryRegionConstraints<'tcx>,
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/traits/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use std::hash::{Hash, Hasher};

pub use self::select::{EvaluationCache, EvaluationResult, OverflowError, SelectionCache};
// FIXME: Remove this import and import via `solve::`
pub use rustc_next_trait_solver::solve::BuiltinImplSource;
pub use rustc_type_ir::solve::BuiltinImplSource;

/// Depending on the stage of compilation, we want projection to be
/// more or less conservative.
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/traits/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use crate::ty::{self, Ty, TyCtxt};
use rustc_macros::{HashStable, TypeFoldable, TypeVisitable};
use rustc_span::Span;
// FIXME: Remove this import and import via `traits::solve`.
pub use rustc_next_trait_solver::solve::NoSolution;
pub use rustc_type_ir::solve::NoSolution;

pub mod type_op {
use crate::ty::fold::TypeFoldable;
Expand Down
4 changes: 2 additions & 2 deletions compiler/rustc_middle/src/traits/solve.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use rustc_ast_ir::try_visit;
use rustc_data_structures::intern::Interned;
use rustc_macros::{HashStable, TypeFoldable, TypeVisitable};
use rustc_next_trait_solver as ir;
pub use rustc_next_trait_solver::solve::*;
use rustc_type_ir as ir;
pub use rustc_type_ir::solve::*;

use crate::infer::canonical::QueryRegionConstraints;
use crate::ty::{
Expand Down