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` |
||
|---|---|---|
| .. | ||
| canonical | ||
| search_graph | ||
| trait_goals | ||
| assembly.rs | ||
| eval_ctxt.rs | ||
| fulfill.rs | ||
| mod.rs | ||
| project_goals.rs | ||
| trait_goals.rs | ||