about summary refs log tree commit diff
path: root/tests/ui/parser/triple-colon-delegation.stderr
blob: d748c7d92b5bc227da0b104ef40de5b6f54ad49b (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
error: path separator must be a double colon
  --> $DIR/triple-colon-delegation.rs:20:18
   |
LL |     reuse Trait:::foo;
   |                  ^
   |
help: use a double colon instead
   |
LL -     reuse Trait:::foo;
LL +     reuse Trait::foo;
   |

error: path separator must be a double colon
  --> $DIR/triple-colon-delegation.rs:21:21
   |
LL |     reuse to_reuse:::bar;
   |                     ^
   |
help: use a double colon instead
   |
LL -     reuse to_reuse:::bar;
LL +     reuse to_reuse::bar;
   |

error: path separator must be a double colon
  --> $DIR/triple-colon-delegation.rs:33:18
   |
LL |     reuse Trait:::* {
   |                  ^
   |
help: use a double colon instead
   |
LL -     reuse Trait:::* {
LL +     reuse Trait::* {
   |

error: aborting due to 3 previous errors