about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/pub_without_shorthand.stderr
blob: c823af6432de013cca088ce0e988e7fc949f121d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
error: usage of `pub` with `in`
  --> tests/ui/pub_without_shorthand.rs:14:1
   |
LL | pub(in self) fn b() {}
   | ^^^^^^^^^^^^ help: remove it: `pub(self)`
   |
   = note: `-D clippy::pub-without-shorthand` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::pub_without_shorthand)]`

error: usage of `pub` with `in`
  --> tests/ui/pub_without_shorthand.rs:19:5
   |
LL |     pub(in super) fn d() {}
   |     ^^^^^^^^^^^^^ help: remove it: `pub(super)`

error: usage of `pub` with `in`
  --> tests/ui/pub_without_shorthand.rs:24:5
   |
LL |     pub(in crate) fn m() {}
   |     ^^^^^^^^^^^^^ help: remove it: `pub(crate)`

error: aborting due to 3 previous errors