error: #[musli(global)] cannot be combined with #[musli(allocator = <type>)]
--> tests/ui/global_allocator_error.rs:30:9
|
30 | #[musli(global, allocator = Global)]
| ^^^^^^
error: #[musli] the allocator cannot be pinned for a type which already has an `A` allocator parameter
--> tests/ui/global_allocator_error.rs:38:9
|
38 | #[musli(global)]
| ^^^^^^
error: #[musli] the allocator parameter cannot be named when the allocator is pinned to a concrete type
--> tests/ui/global_allocator_error.rs:48:43
|
48 | #[musli(Binary, global, decode_bound<'de, A> = {})]
| ^
error[E0277]: the trait bound `Value<musli::alloc::Global>: Decode<'_, musli::mode::Binary, __A>` is not satisfied
--> tests/ui/global_allocator_error.rs:17:18
|
17 | #[derive(Encode, Decode)]
| ^^^^^^ the trait `Decode<'_, musli::mode::Binary, __A>` is not implemented for `Value<musli::alloc::Global>`
|
= note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Value<musli::alloc::Global>: Decode<'_, Text, __A>` is not satisfied
--> tests/ui/global_allocator_error.rs:17:18
|
17 | #[derive(Encode, Decode)]
| ^^^^^^ the trait `Decode<'_, Text, __A>` is not implemented for `Value<musli::alloc::Global>`
|
= note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `musli::alloc::String<musli::alloc::Global>: Decode<'_, musli::mode::Binary, __A>` is not satisfied
--> tests/ui/global_allocator_error.rs:22:18
|
22 | #[derive(Encode, Decode)]
| ^^^^^^ the trait `Decode<'_, musli::mode::Binary, __A>` is not implemented for `musli::alloc::String<musli::alloc::Global>`
|
= note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `musli::alloc::String<musli::alloc::Global>: Decode<'_, Text, __A>` is not satisfied
--> tests/ui/global_allocator_error.rs:22:18
|
22 | #[derive(Encode, Decode)]
| ^^^^^^ the trait `Decode<'_, Text, __A>` is not implemented for `musli::alloc::String<musli::alloc::Global>`
|
= note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info)