]> git.proxmox.com Git - rustc.git/blame - src/test/ui/associated-item/associated-item-enum.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / associated-item / associated-item-enum.stderr
CommitLineData
dfeec247 1error[E0599]: no variant or associated item named `mispellable` found for enum `Enum` in the current scope
48663c56
XL
2 --> $DIR/associated-item-enum.rs:17:11
3 |
4LL | enum Enum { Variant }
5 | --------- variant or associated item `mispellable` not found here
6...
7LL | Enum::mispellable();
8 | ^^^^^^^^^^^
9 | |
10 | variant or associated item not found in `Enum`
ba9703b0 11 | help: there is an associated function with a similar name: `misspellable`
48663c56 12
dfeec247 13error[E0599]: no variant or associated item named `mispellable_trait` found for enum `Enum` in the current scope
48663c56
XL
14 --> $DIR/associated-item-enum.rs:18:11
15 |
16LL | enum Enum { Variant }
17 | --------- variant or associated item `mispellable_trait` not found here
18...
19LL | Enum::mispellable_trait();
04454e1e
FG
20 | ^^^^^^^^^^^^^^^^^
21 | |
22 | variant or associated item not found in `Enum`
23 | help: there is an associated function with a similar name: `misspellable`
48663c56 24
dfeec247 25error[E0599]: no variant or associated item named `MISPELLABLE` found for enum `Enum` in the current scope
48663c56
XL
26 --> $DIR/associated-item-enum.rs:19:11
27 |
28LL | enum Enum { Variant }
29 | --------- variant or associated item `MISPELLABLE` not found here
30...
31LL | Enum::MISPELLABLE;
32 | ^^^^^^^^^^^
33 | |
34 | variant or associated item not found in `Enum`
35 | help: there is an associated constant with a similar name: `MISSPELLABLE`
36
37error: aborting due to 3 previous errors
38
39For more information about this error, try `rustc --explain E0599`.