Description
Error message: error: internal compiler error: src/librustc/traits/select.rs:2922: Where clause `Binder(<base::default_allocator::DefaultAllocator as base::allocator::Allocator<N, R, C>>)` was applicable to `Obligation(predicate=Binder(TraitPredicate(<base::default_allocator::DefaultAllocator as base::allocator::Allocator<_, _, _>>)), depth=1)` but now is not
Commit that reproduces the issue: aweinstock314/nalgebra@5106e2d
I get the same error (except for the exact line number) on 1.38, 1.40, beta, and a couple of nightlies.
The other issues reachable via the query is:issue is:open ICE "but now is not"
(#62742 and #55765) are both about the "was matchable against"
bug!
invocation at
rust/src/librustc/traits/select.rs
Line 3464 in 4884061
bug!
invocation is at rust/src/librustc/traits/select.rs
Line 2781 in 4884061
I haven't yet tried to minimize this: The commit beforehand (1 line difference) on the same nalgebra branch is a compile-fail due to a trait method not being found, and I'm still trying to figure out if that one's a bug in my code.