about summary refs log tree commit diff
path: root/tests/ui/privacy/sysroot-private.rustc_private_enabled.stderr
blob: dc2d890a082cff53bc87fd7b02b9acbe638ab790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
error[E0405]: cannot find trait `Equivalent` in this scope
  --> $DIR/sysroot-private.rs:27:18
   |
LL | trait Trait2<K>: Equivalent<K> {}
   |                  ^^^^^^^^^^ not found in this scope

error[E0412]: cannot find type `K` in this scope
  --> $DIR/sysroot-private.rs:32:35
   |
LL | fn trait_member<T>(val: &T, key: &K) -> bool {
   |                 -                 ^
   |                 |
   |                 similarly named type parameter `T` defined here
   |
help: a type parameter with a similar name exists
   |
LL - fn trait_member<T>(val: &T, key: &K) -> bool {
LL + fn trait_member<T>(val: &T, key: &T) -> bool {
   |
help: you might be missing a type parameter
   |
LL | fn trait_member<T, K>(val: &T, key: &K) -> bool {
   |                  +++

error[E0220]: associated type `ExpressionStack` not found for `Trait`
  --> $DIR/sysroot-private.rs:22:31
   |
LL | type AssociatedTy = dyn Trait<ExpressionStack = i32, Bar = i32>;
   |                               ^^^^^^^^^^^^^^^ there is an associated type `ExpressionStack` in the trait `gimli::read::op::EvaluationStorage`

error[E0425]: cannot find function `memchr2` in this scope
  --> $DIR/sysroot-private.rs:40:5
   |
LL |     memchr2(b'a', b'b', buf)
   |     ^^^^^^^ not found in this scope

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0220, E0405, E0412, E0425.
For more information about an error, try `rustc --explain E0220`.