]> git.proxmox.com Git - rustc.git/blame - src/test/ui/span/issue-27522.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / span / issue-27522.stderr
CommitLineData
e1599b0c 1error[E0307]: invalid `self` parameter type: &SomeType
0731742a 2 --> $DIR/issue-27522.rs:6:22
32a655c1 3 |
532ac7d7 4LL | fn handler(self: &SomeType);
abe05a73 5 | ^^^^^^^^^
32a655c1 6 |
e1599b0c 7 = note: type of `self` must be `Self` or a type that dereferences to it
416331ca 8 = help: consider changing to `self`, `&self`, `&mut self`, `self: Box<Self>`, `self: Rc<Self>`, `self: Arc<Self>`, or `self: Pin<P>` (where P is one of the previous types except `Self`)
32a655c1 9
041b39d2 10error: aborting due to previous error
32a655c1 11
e1599b0c 12For more information about this error, try `rustc --explain E0307`.