File: 02-invalid-id-macros.stderr

package info (click to toggle)
rust-ruma-common 0.10.5-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,208 kB
  • sloc: makefile: 2
file content (71 lines) | stat: -rw-r--r-- 2,918 bytes parent folder | download | duplicates (2)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
error: proc macro panicked
 --> $DIR/02-invalid-id-macros.rs:2:13
  |
2 |     let _ = ruma_common::event_id!("39hvsi03hlne:example.com");
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: Invalid event id
  = note: this error originates in the macro `ruma_common::event_id` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
 --> $DIR/02-invalid-id-macros.rs:3:13
  |
3 |     let _ = ruma_common::event_id!("acR1l0raoZnm60CBwAVgqbZqoO/mYU81xysh1u7XcJk");
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: Invalid event id
  = note: this error originates in the macro `ruma_common::event_id` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
 --> $DIR/02-invalid-id-macros.rs:4:13
  |
4 |     let _ = ruma_common::mxc_uri!("");
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: Invalid mxc://
  = note: this error originates in the macro `ruma_common::mxc_uri` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
 --> $DIR/02-invalid-id-macros.rs:5:13
  |
5 |     let _ = ruma_common::room_alias_id!("alias:server.tld");
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: Invalid room_alias_id
  = note: this error originates in the macro `ruma_common::room_alias_id` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
 --> $DIR/02-invalid-id-macros.rs:6:13
  |
6 |     let _ = ruma_common::room_id!("1234567890:matrix.org");
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: Invalid room_id
  = note: this error originates in the macro `ruma_common::room_id` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
 --> $DIR/02-invalid-id-macros.rs:7:13
  |
7 |     let _ = ruma_common::room_version_id!("");
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: Invalid room_version_id
  = note: this error originates in the macro `ruma_common::room_version_id` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
 --> $DIR/02-invalid-id-macros.rs:8:13
  |
8 |     let _ = ruma_common::server_name!("");
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: Invalid server_name
  = note: this error originates in the macro `ruma_common::server_name` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
 --> $DIR/02-invalid-id-macros.rs:9:13
  |
9 |     let _ = ruma_common::user_id!("user:ruma.io");
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: Invalid user_id
  = note: this error originates in the macro `ruma_common::user_id` (in Nightly builds, run with -Z macro-backtrace for more info)