summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-2627-raw-dylib/link-ordinal-multiple.stderr
blob: 2e6cf3761c2f0d247bec158e4682cfc144f028b0 (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
error: multiple `link_ordinal` attributes
  --> $DIR/link-ordinal-multiple.rs:4:5
   |
LL |     #[link_ordinal(1)]
   |     ^^^^^^^^^^^^^^^^^^ help: remove this attribute
   |
note: attribute also specified here
  --> $DIR/link-ordinal-multiple.rs:5:5
   |
LL |     #[link_ordinal(2)]
   |     ^^^^^^^^^^^^^^^^^^

error: multiple `link_ordinal` attributes
  --> $DIR/link-ordinal-multiple.rs:7:5
   |
LL |     #[link_ordinal(1)]
   |     ^^^^^^^^^^^^^^^^^^ help: remove this attribute
   |
note: attribute also specified here
  --> $DIR/link-ordinal-multiple.rs:8:5
   |
LL |     #[link_ordinal(2)]
   |     ^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors