Debian Codegraph @

tests/ui/visibility.stderr

raw
1 error[E0603]: trait `StrExt1` is private
2 --> tests/ui/visibility.rs:37:14
3 |
4 37 | use foo::StrExt1; //~ ERROR trait `StrExt1` is private [E0603]
5 | ^^^^^^^ private trait
6 |
7 note: the trait `StrExt1` is defined here
8 --> tests/ui/visibility.rs:7:5
9 |
10 7 | impl str {
11 | ^^^^^^^^
12
13 error[E0603]: trait `StrExt2` is private
14 --> tests/ui/visibility.rs:39:14
15 |
16 39 | use foo::StrExt2; //~ ERROR trait `StrExt2` is private [E0603]
17 | ^^^^^^^ private trait
18 |
19 note: the trait `StrExt2` is defined here
20 --> tests/ui/visibility.rs:14:5
21 |
22 14 | pub(self) impl str {
23 | ^^^^^^^^^^^^^^^^^^
24
25 error[E0603]: trait `StrExt3` is private
26 --> tests/ui/visibility.rs:41:19
27 |
28 41 | use foo::bar::StrExt3; //~ ERROR trait `StrExt2` is private [E0603]
29 | ^^^^^^^ private trait
30 |
31 note: the trait `StrExt3` is defined here
32 --> tests/ui/visibility.rs:24:9
33 |
34 24 | pub(super) impl str {
35 | ^^^^^^^^^^^^^^^^^^^