rust/compiler/rustc_trait_selection/src/solve
Matthias Krüger fef1fc4349
Rollup merge of #109441 - oli-obk:fn_trait_new_solver, r=compiler-errors
Only implement Fn* traits for extern "Rust" safe function pointers and items

Since calling the function via an `Fn` trait will assume `extern "Rust"` ABI and not do any safety checks, only safe `extern "Rust"` function can implement the `Fn` traits. This syncs the logic between the old solver and the new solver.

r? `@compiler-errors`
2023-03-21 19:00:14 +01:00
..
canonical fix bad assertion 2023-03-17 14:40:21 +00:00
search_graph replace usage of evaluate_goal with a new add_goal 2023-03-16 14:58:35 +00:00
trait_goals Rollup merge of #109441 - oli-obk:fn_trait_new_solver, r=compiler-errors 2023-03-21 19:00:14 +01:00
assembly.rs replace usage of evaluate_goal with a new add_goal 2023-03-16 14:58:35 +00:00
eval_ctxt.rs move compute_goal and evaluate_x methods to inner module 2023-03-17 15:02:24 +00:00
fulfill.rs drop_tracking_mir: support new solver. 2023-03-05 08:29:35 +00:00
mod.rs move compute_goal and evaluate_x methods to inner module 2023-03-17 15:02:24 +00:00
project_goals.rs UNACEPTABLE 2023-03-17 14:04:39 +00:00
trait_goals.rs replace chain with two add_goal 2023-03-17 14:35:12 +00:00