rust/src/test/ui/non-interger-atomic.stderr

99 lines
3.8 KiB
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0511]: invalid monomorphization of `atomic_load` intrinsic: expected basic integer type, found `bool`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:13:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_load(p);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_store` intrinsic: expected basic integer type, found `bool`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:18:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_store(p, v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_xchg` intrinsic: expected basic integer type, found `bool`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:23:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_xchg(p, v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_cxchg` intrinsic: expected basic integer type, found `bool`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:28:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_cxchg(p, v, v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_load` intrinsic: expected basic integer type, found `Foo`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:33:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_load(p);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_store` intrinsic: expected basic integer type, found `Foo`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:38:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_store(p, v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_xchg` intrinsic: expected basic integer type, found `Foo`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:43:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_xchg(p, v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_cxchg` intrinsic: expected basic integer type, found `Foo`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:48:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_cxchg(p, v, v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_load` intrinsic: expected basic integer type, found `&dyn std::ops::Fn()`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:53:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_load(p);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_store` intrinsic: expected basic integer type, found `&dyn std::ops::Fn()`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:58:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_store(p, v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_xchg` intrinsic: expected basic integer type, found `&dyn std::ops::Fn()`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:63:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_xchg(p, v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_cxchg` intrinsic: expected basic integer type, found `&dyn std::ops::Fn()`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:68:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_cxchg(p, v, v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_load` intrinsic: expected basic integer type, found `[u8; 100]`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:73:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_load(p);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_store` intrinsic: expected basic integer type, found `[u8; 100]`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:78:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_store(p, v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_xchg` intrinsic: expected basic integer type, found `[u8; 100]`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:83:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_xchg(p, v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0511]: invalid monomorphization of `atomic_cxchg` intrinsic: expected basic integer type, found `[u8; 100]`
2018-12-25 09:56:47 -06:00
--> $DIR/non-interger-atomic.rs:88:5
2018-08-08 07:28:26 -05:00
|
LL | intrinsics::atomic_cxchg(p, v, v);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 16 previous errors