fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
2.3 KiB64 linesraw
1error: cannot find macro `unknown_macro` in this scope
2  --> $DIR/impl-fn-nesting.rs:32:13
3   |
4LL |             unknown_macro!();
5   |             ^^^^^^^^^^^^^
6
7error[E0405]: cannot find trait `UnknownBound` in this scope
8  --> $DIR/impl-fn-nesting.rs:11:13
9   |
10LL | pub fn f<B: UnknownBound>(a: UnknownType, b: B) {
11   |             ^^^^^^^^^^^^ not found in this scope
12
13error[E0412]: cannot find type `UnknownType` in this scope
14  --> $DIR/impl-fn-nesting.rs:11:30
15   |
16LL | pub fn f<B: UnknownBound>(a: UnknownType, b: B) {
17   |                              ^^^^^^^^^^^ not found in this scope
18
19error[E0405]: cannot find trait `UnknownTrait` in this scope
20  --> $DIR/impl-fn-nesting.rs:14:10
21   |
22LL |     impl UnknownTrait for ValidType {}
23   |          ^^^^^^^^^^^^ not found in this scope
24
25error[E0405]: cannot find trait `UnknownTrait` in this scope
26  --> $DIR/impl-fn-nesting.rs:15:27
27   |
28LL |     impl<T: UnknownBound> UnknownTrait for T {}
29   |                           ^^^^^^^^^^^^ not found in this scope
30
31error[E0405]: cannot find trait `UnknownBound` in this scope
32  --> $DIR/impl-fn-nesting.rs:15:13
33   |
34LL |     impl<T: UnknownBound> UnknownTrait for T {}
35   |             ^^^^^^^^^^^^ not found in this scope
36
37error[E0412]: cannot find type `UnknownType` in this scope
38  --> $DIR/impl-fn-nesting.rs:18:25
39   |
40LL |     impl ValidTrait for UnknownType {}
41   |                         ^^^^^^^^^^^ not found in this scope
42
43error[E0405]: cannot find trait `UnknownBound` in this scope
44  --> $DIR/impl-fn-nesting.rs:20:53
45   |
46LL |     impl ValidTrait for ValidType where ValidTrait: UnknownBound {}
47   |                                                     ^^^^^^^^^^^^ not found in this scope
48
49error[E0412]: cannot find type `UnknownType` in this scope
50  --> $DIR/impl-fn-nesting.rs:25:21
51   |
52LL |         type Item = UnknownType;
53   |                     ^^^^^^^^^^^ not found in this scope
54
55error[E0412]: cannot find type `UnknownType` in this scope
56  --> $DIR/impl-fn-nesting.rs:44:37
57   |
58LL |             pub fn doubly_nested(c: UnknownType) {
59   |                                     ^^^^^^^^^^^ not found in this scope
60
61error: aborting due to 10 previous errors
62
63Some errors have detailed explanations: E0405, E0412.
64For more information about an error, try `rustc --explain E0405`.