Skip to content

Commit

Permalink
change to known bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lcnr committed Aug 18, 2023
1 parent 1171683 commit ee04744
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// compile-flags: -Ztrait-solver=next
// known-bug: trait-system-refactor-initiative#60

// Generalizing a projection containing an inference variable
// which cannot be named by the `root_vid` can result in ambiguity.
Expand Down Expand Up @@ -71,5 +72,4 @@ where

fn main() {
bound::<<Rigid as IdHigherRankedBound>::Assoc, <Wrapper<Leaf> as Id>::Assoc, _>()
//~^ ERROR type annotations needed
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0282]: type annotations needed
--> $DIR/generalize-proj-new-universe-index-2.rs:72:5
--> $DIR/generalize-proj-new-universe-index-2.rs:74:5
|
LL | bound::<<Rigid as IdHigherRankedBound>::Assoc, <Wrapper<Leaf> as Id>::Assoc, _>()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `V` declared on the function `bound`
Expand Down

0 comments on commit ee04744

Please sign in to comment.