summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rfc-2627-raw-dylib/link-ordinal-invalid-format.stderr
blob: 55cdcad75a4ad04c17bc0b4ab1476730a3fd0e37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: illegal ordinal format in `link_ordinal`
  --> $DIR/link-ordinal-invalid-format.rs:5:5
   |
LL |     #[link_ordinal("JustMonika")]
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: an unsuffixed integer value, e.g., `1`, is expected

error: illegal ordinal format in `link_ordinal`
  --> $DIR/link-ordinal-invalid-format.rs:8:5
   |
LL |     #[link_ordinal("JustMonika")]
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: an unsuffixed integer value, e.g., `1`, is expected

error: aborting due to 2 previous errors