fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
563 B15 linesraw
1error: item constrains opaque type that is not in its signature
2  --> $DIR/issue-99387.rs:21:22
3   |
4LL | pub fn ohno<'a>() -> <&'a () as Tr>::Item {
5   |                      ^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: this item must mention the opaque type in its signature in order to be able to register hidden types
8note: this item must mention the opaque type in its signature in order to be able to register hidden types
9  --> $DIR/issue-99387.rs:21:8
10   |
11LL | pub fn ohno<'a>() -> <&'a () as Tr>::Item {
12   |        ^^^^
13
14error: aborting due to previous error
15