Skip to content

Commit def50d5

Browse files
committed
unconstrained-ref
1 parent 039e098 commit def50d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/type-inference/type-inference-none-in-generic-ref.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0282]: type annotations needed
2-
--> $DIR/unconstrained-ref.rs:6:5
2+
--> $DIR/type-inference-none-in-generic-ref.rs:9:5
33
|
44
LL | S { o: &None };
55
| ^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `S`

0 commit comments

Comments
 (0)