You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following passes typeck and ICEs in MIR building for test with the message encountered ambiguity selecting <std::option::Option<T> as Overlap> during codegen:
test is not really callable as coherence disallows adding a impl Local for Option, but we should still return an ambiguity in case of overlapping impl candidates.
this will no longer ICE with rust-lang/rust#124374 and is something I'd like to work. Still keeping this open as it should be mentioned when stabilizing the new solver
The following passes typeck and ICEs in MIR building for
test
with the messageencountered ambiguity selecting <std::option::Option<T> as Overlap> during codegen
:test
is not really callable as coherence disallows adding aimpl Local for Option
, but we should still return an ambiguity in case of overlapping impl candidates.https://github.com/rust-lang/rust/blob/fe37f37e4b764bb82fc0eb8c727842746de7c93f/compiler/rustc_trait_selection/src/solve/mod.rs#L197
The text was updated successfully, but these errors were encountered: