Skip to content

Commit ee04744

Browse files
committed
change to known bug
1 parent 1171683 commit ee04744

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ui/traits/new-solver/generalize/generalize-proj-new-universe-index-2.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// compile-flags: -Ztrait-solver=next
2+
// known-bug: trait-system-refactor-initiative#60
23

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

7273
fn main() {
7374
bound::<<Rigid as IdHigherRankedBound>::Assoc, <Wrapper<Leaf> as Id>::Assoc, _>()
74-
//~^ ERROR type annotations needed
7575
}

tests/ui/traits/new-solver/generalize/generalize-proj-new-universe-index-2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0282]: type annotations needed
2-
--> $DIR/generalize-proj-new-universe-index-2.rs:72:5
2+
--> $DIR/generalize-proj-new-universe-index-2.rs:74:5
33
|
44
LL | bound::<<Rigid as IdHigherRankedBound>::Assoc, <Wrapper<Leaf> as Id>::Assoc, _>()
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `V` declared on the function `bound`

0 commit comments

Comments
 (0)