rust/tests/ui/lint/issue-103317.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
411 B
Plaintext
Raw Normal View History

warning: unreachable `pub` item
2022-10-29 23:44:24 +08:00
--> $DIR/issue-103317.rs:7:5
|
LL | pub enum T {
| ---^^^^^^^
| |
| help: consider restricting its visibility: `pub(crate)`
|
= help: or consider exporting it for use by other crates
note: the lint level is defined here
2022-10-29 23:44:24 +08:00
--> $DIR/issue-103317.rs:4:8
|
LL | #[warn(unreachable_pub)]
| ^^^^^^^^^^^^^^^
warning: 1 warning emitted