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

100 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`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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()`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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()`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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()`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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()`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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]`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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]`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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]`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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]`
2019-08-20 06:46:23 -05:00
--> $DIR/non-integer-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
For more information about this error, try `rustc --explain E0511`.