about summary refs log tree commit diff
path: root/tests/ui/privacy/issue-119463.stderr
blob: 4a0684de613ca69207ea5c5210fa7d528cf3dd2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error[E0407]: method `nonexistent` is not a member of trait `issue_119463_extern::PrivateTrait`
  --> $DIR/issue-119463.rs:11:5
   |
LL |     fn nonexistent() {}
   |     ^^^^^^^^^^^^^^^^^^^ not a member of trait `issue_119463_extern::PrivateTrait`

error[E0603]: trait `PrivateTrait` is private
  --> $DIR/issue-119463.rs:7:27
   |
LL | impl issue_119463_extern::PrivateTrait for S {
   |                           ^^^^^^^^^^^^ private trait
   |
note: the trait `PrivateTrait` is defined here
  --> $DIR/auxiliary/issue-119463-extern.rs:1:1
   |
LL | trait PrivateTrait {
   | ^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0407, E0603.
For more information about an error, try `rustc --explain E0407`.