about summary refs log tree commit diff
path: root/tests/ui/force-inlining/early-deny.stderr
blob: abee66fd293c6279bfa3609b433a9eed18d7357c (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
error: `rustc_attr` is incompatible with `#[rustc_force_inline]`
  --> $DIR/early-deny.rs:7:1
   |
LL | #[rustc_force_inline]
   | ^^^^^^^^^^^^^^^^^^^^^
LL |
LL | pub fn rustc_attr() {
   | ------------------- `rustc_attr` defined here
   |
   = note: incompatible due to: #[rustc_no_mir_inline]

error: `cold` is incompatible with `#[rustc_force_inline]`
  --> $DIR/early-deny.rs:13:1
   |
LL | #[rustc_force_inline]
   | ^^^^^^^^^^^^^^^^^^^^^
LL |
LL | pub fn cold() {
   | ------------- `cold` defined here
   |
   = note: incompatible due to: cold

error: `variadic` is incompatible with `#[rustc_force_inline]`
  --> $DIR/early-deny.rs:18:1
   |
LL | #[rustc_force_inline]
   | ^^^^^^^^^^^^^^^^^^^^^
LL |
LL | pub unsafe extern "C" fn variadic(args: ...) {
   | -------------------------------------------- `variadic` defined here
   |
   = note: incompatible due to: C variadic

error: aborting due to 3 previous errors