Skip to content

Instantly share code, notes, and snippets.

@dvberkel
Created August 14, 2018 16:24
Show Gist options
  • Save dvberkel/1613f9a458051389ccd1abd3edfa6545 to your computer and use it in GitHub Desktop.
Save dvberkel/1613f9a458051389ccd1abd3edfa6545 to your computer and use it in GitHub Desktop.
cargo install elba
error[E0658]: use of unstable library feature 'fused' (see issue #35602)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:6:5
|
6 | use std::iter::FusedIterator;
| ^^^^^^^^^^^^^^^^^^^^^^^^
error[E0658]: use of unstable library feature 'fused' (see issue #35602)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:721:9
|
721 | impl<T> FusedIterator for Receiver<T> {}
| ^^^^^^^^^^^^^
error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/flavors/array.rs:140:35
|
140 | let slot = buffer.add(i);
| ^^^
error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/flavors/array.rs:177:47
|
177 | let slot = unsafe { &*self.buffer.add(index) };
| ^^^
error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/flavors/array.rs:223:24
|
223 | slot.msg.get().write(msg);
| ^^^^^
error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/flavors/array.rs:239:47
|
239 | let slot = unsafe { &*self.buffer.add(index) };
| ^^^
error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/flavors/array.rs:301:34
|
301 | let msg = slot.msg.get().read();
| ^^^^
error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/flavors/array.rs:486:29
|
486 | self.buffer.add(index).drop_in_place();
| ^^^
error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/flavors/array.rs:486:40
|
486 | self.buffer.add(index).drop_in_place();
| ^^^^^^^^^^^^^
error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/flavors/list.rs:190:43
|
190 | (*slot).msg.get().write(ManuallyDrop::new(msg));
| ^^^^^
error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/flavors/list.rs:305:32
|
305 | let m = slot.msg.get().read();
| ^^^^
error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/flavors/list.rs:431:59
|
431 | ManuallyDrop::drop(&mut (*slot).msg.get().read());
| ^^^^
error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/flavors/zero.rs:167:26
|
167 | packet.msg.get().write(Some(msg));
| ^^^^^
error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/flavors/zero.rs:246:40
|
246 | let msg = packet.msg.get().replace(None).unwrap();
| ^^^^^^^
error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/flavors/zero.rs:253:40
|
253 | let msg = packet.msg.get().replace(None).unwrap();
| ^^^^^^^
error[E0658]: use of unstable library feature 'pointer_methods' (see issue #43941)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/flavors/zero.rs:336:48
|
336 | unsafe { Some(packet.msg.get().replace(None).unwrap()) }
| ^^^^^^^
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/codegen.rs:104:13
|
104 | for (handle, _, _) in handles.iter_mut() {
| ^^^^^^^^^^^^^^ help: consider using a reference: `&(handle, _, _)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/codegen.rs:139:13
|
139 | for (handle, _, _) in handles.iter_mut().take(registered_count) {
| ^^^^^^^^^^^^^^ help: consider using a reference: `&(handle, _, _)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/codegen.rs:148:21
|
148 | for (handle, i, ptr) in handles.iter_mut() {
| ^^^^^^^^^^^^^^^^ help: consider using a reference: `&(handle, i, ptr)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:300:13
|
300 | ChannelFlavor::Array(chan) => chan.send(msg),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:301:13
|
301 | ChannelFlavor::List(chan) => chan.send(msg),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:302:13
|
302 | ChannelFlavor::Zero(chan) => chan.send(msg),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:323:13
|
323 | ChannelFlavor::Array(chan) => chan.is_empty(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:324:13
|
324 | ChannelFlavor::List(chan) => chan.is_empty(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:325:13
|
325 | ChannelFlavor::Zero(chan) => chan.is_empty(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:346:13
|
346 | ChannelFlavor::Array(chan) => chan.is_full(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:347:13
|
347 | ChannelFlavor::List(chan) => chan.is_full(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:348:13
|
348 | ChannelFlavor::Zero(chan) => chan.is_full(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:368:13
|
368 | ChannelFlavor::Array(chan) => chan.len(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:369:13
|
369 | ChannelFlavor::List(chan) => chan.len(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:370:13
|
370 | ChannelFlavor::Zero(chan) => chan.len(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:392:13
|
392 | ChannelFlavor::Array(chan) => chan.capacity(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:393:13
|
393 | ChannelFlavor::List(chan) => chan.capacity(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:394:13
|
394 | ChannelFlavor::Zero(chan) => chan.capacity(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:403:17
|
403 | ChannelFlavor::Array(chan) => chan.close(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:404:17
|
404 | ChannelFlavor::List(chan) => chan.close(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:405:17
|
405 | ChannelFlavor::Zero(chan) => chan.close(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:490:13
|
490 | ReceiverFlavor::Channel(chan) => &**chan as *const Channel<T> as usize,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:491:13
|
491 | ReceiverFlavor::After(chan) => chan.channel_id(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:492:13
|
492 | ReceiverFlavor::Tick(chan) => chan.channel_id(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:525:13
|
525 | ReceiverFlavor::Channel(arc) => match &arc.flavor {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(arc)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:530:13
|
530 | ReceiverFlavor::After(chan) => unsafe {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:533:13
|
533 | ReceiverFlavor::Tick(chan) => unsafe {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:526:17
|
526 | ChannelFlavor::Array(chan) => chan.recv(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:527:17
|
527 | ChannelFlavor::List(chan) => chan.recv(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:528:17
|
528 | ChannelFlavor::Zero(chan) => chan.recv(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:584:13
|
584 | ReceiverFlavor::Channel(arc) => match &arc.flavor {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(arc)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:589:13
|
589 | ReceiverFlavor::After(chan) => chan.is_empty(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:590:13
|
590 | ReceiverFlavor::Tick(chan) => chan.is_empty(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:585:17
|
585 | ChannelFlavor::Array(chan) => chan.is_empty(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:586:17
|
586 | ChannelFlavor::List(chan) => chan.is_empty(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:587:17
|
587 | ChannelFlavor::Zero(chan) => chan.is_empty(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:611:13
|
611 | ReceiverFlavor::Channel(arc) => match &arc.flavor {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(arc)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:616:13
|
616 | ReceiverFlavor::After(chan) => !chan.is_empty(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:617:13
|
617 | ReceiverFlavor::Tick(chan) => !chan.is_empty(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:612:17
|
612 | ChannelFlavor::Array(chan) => chan.is_full(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:613:17
|
613 | ChannelFlavor::List(chan) => chan.is_full(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:614:17
|
614 | ChannelFlavor::Zero(chan) => chan.is_full(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:637:13
|
637 | ReceiverFlavor::Channel(arc) => match &arc.flavor {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(arc)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:642:13
|
642 | ReceiverFlavor::After(chan) => chan.len(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:643:13
|
643 | ReceiverFlavor::Tick(chan) => chan.len(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:638:17
|
638 | ChannelFlavor::Array(chan) => chan.len(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:639:17
|
639 | ChannelFlavor::List(chan) => chan.len(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:640:17
|
640 | ChannelFlavor::Zero(chan) => chan.len(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:665:13
|
665 | ReceiverFlavor::Channel(arc) => match &arc.flavor {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(arc)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:670:13
|
670 | ReceiverFlavor::After(chan) => chan.capacity(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:671:13
|
671 | ReceiverFlavor::Tick(chan) => chan.capacity(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:666:17
|
666 | ChannelFlavor::Array(chan) => chan.capacity(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:667:17
|
667 | ChannelFlavor::List(chan) => chan.capacity(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:668:17
|
668 | ChannelFlavor::Zero(chan) => chan.capacity(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:679:13
|
679 | ReceiverFlavor::Channel(arc) => ReceiverFlavor::Channel(arc.clone()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(arc)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:680:13
|
680 | ReceiverFlavor::After(chan) => ReceiverFlavor::After(chan.clone()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:681:13
|
681 | ReceiverFlavor::Tick(chan) => ReceiverFlavor::Tick(chan.clone()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:738:13
|
738 | ChannelFlavor::Array(chan) => chan.sender().try(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:739:13
|
739 | ChannelFlavor::List(chan) => chan.sender().try(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:740:13
|
740 | ChannelFlavor::Zero(chan) => chan.sender().try(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:746:13
|
746 | ChannelFlavor::Array(chan) => chan.sender().retry(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:747:13
|
747 | ChannelFlavor::List(chan) => chan.sender().retry(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:748:13
|
748 | ChannelFlavor::Zero(chan) => chan.sender().retry(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:758:13
|
758 | ChannelFlavor::Array(chan) => chan.sender().register(token, oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:759:13
|
759 | ChannelFlavor::List(chan) => chan.sender().register(token, oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:760:13
|
760 | ChannelFlavor::Zero(chan) => chan.sender().register(token, oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:766:13
|
766 | ChannelFlavor::Array(chan) => chan.sender().unregister(oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:767:13
|
767 | ChannelFlavor::List(chan) => chan.sender().unregister(oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:768:13
|
768 | ChannelFlavor::Zero(chan) => chan.sender().unregister(oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:774:13
|
774 | ChannelFlavor::Array(chan) => chan.sender().accept(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:775:13
|
775 | ChannelFlavor::List(chan) => chan.sender().accept(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:776:13
|
776 | ChannelFlavor::Zero(chan) => chan.sender().accept(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:782:13
|
782 | ChannelFlavor::Array(chan) => chan.sender().state(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:783:13
|
783 | ChannelFlavor::List(chan) => chan.sender().state(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:784:13
|
784 | ChannelFlavor::Zero(chan) => chan.sender().state(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:792:13
|
792 | ReceiverFlavor::Channel(arc) => match &arc.flavor {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(arc)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:797:13
|
797 | ReceiverFlavor::After(chan) => chan.try(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:798:13
|
798 | ReceiverFlavor::Tick(chan) => chan.try(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:793:17
|
793 | ChannelFlavor::Array(chan) => chan.receiver().try(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:794:17
|
794 | ChannelFlavor::List(chan) => chan.receiver().try(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:795:17
|
795 | ChannelFlavor::Zero(chan) => chan.receiver().try(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:804:13
|
804 | ReceiverFlavor::Channel(arc) => match &arc.flavor {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(arc)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:809:13
|
809 | ReceiverFlavor::After(chan) => chan.retry(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:810:13
|
810 | ReceiverFlavor::Tick(chan) => chan.retry(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:805:17
|
805 | ChannelFlavor::Array(chan) => chan.receiver().retry(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:806:17
|
806 | ChannelFlavor::List(chan) => chan.receiver().retry(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:807:17
|
807 | ChannelFlavor::Zero(chan) => chan.receiver().retry(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:816:13
|
816 | ReceiverFlavor::Channel(_) => None,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(_)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:817:13
|
817 | ReceiverFlavor::After(chan) => chan.deadline(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:818:13
|
818 | ReceiverFlavor::Tick(chan) => chan.deadline(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:824:13
|
824 | ReceiverFlavor::Channel(arc) => match &arc.flavor {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(arc)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:829:13
|
829 | ReceiverFlavor::After(chan) => chan.register(token, oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:830:13
|
830 | ReceiverFlavor::Tick(chan) => chan.register(token, oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:825:17
|
825 | ChannelFlavor::Array(chan) => chan.receiver().register(token, oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:826:17
|
826 | ChannelFlavor::List(chan) => chan.receiver().register(token, oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:827:17
|
827 | ChannelFlavor::Zero(chan) => chan.receiver().register(token, oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:836:13
|
836 | ReceiverFlavor::Channel(arc) => match &arc.flavor {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(arc)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:841:13
|
841 | ReceiverFlavor::After(chan) => chan.unregister(oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:842:13
|
842 | ReceiverFlavor::Tick(chan) => chan.unregister(oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:837:17
|
837 | ChannelFlavor::Array(chan) => chan.receiver().unregister(oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:838:17
|
838 | ChannelFlavor::List(chan) => chan.receiver().unregister(oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:839:17
|
839 | ChannelFlavor::Zero(chan) => chan.receiver().unregister(oper),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:848:13
|
848 | ReceiverFlavor::Channel(arc) => match &arc.flavor {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(arc)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:853:13
|
853 | ReceiverFlavor::After(chan) => chan.accept(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:854:13
|
854 | ReceiverFlavor::Tick(chan) => chan.accept(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:849:17
|
849 | ChannelFlavor::Array(chan) => chan.receiver().accept(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:850:17
|
850 | ChannelFlavor::List(chan) => chan.receiver().accept(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:851:17
|
851 | ChannelFlavor::Zero(chan) => chan.receiver().accept(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:860:13
|
860 | ReceiverFlavor::Channel(arc) => match &arc.flavor {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(arc)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:865:13
|
865 | ReceiverFlavor::After(chan) => chan.state(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:866:13
|
866 | ReceiverFlavor::Tick(chan) => chan.state(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:861:17
|
861 | ChannelFlavor::Array(chan) => chan.receiver().state(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:862:17
|
862 | ChannelFlavor::List(chan) => chan.receiver().state(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:863:17
|
863 | ChannelFlavor::Zero(chan) => chan.receiver().state(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:874:9
|
874 | ChannelFlavor::Array(chan) => chan.write(token, msg),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:875:9
|
875 | ChannelFlavor::List(chan) => chan.write(token, msg),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:876:9
|
876 | ChannelFlavor::Zero(chan) => chan.write(token, msg),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:883:9
|
883 | ReceiverFlavor::Channel(arc) => match &arc.flavor {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(arc)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:888:9
|
888 | ReceiverFlavor::After(chan) => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:891:9
|
891 | ReceiverFlavor::Tick(chan) => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:884:13
|
884 | ChannelFlavor::Array(chan) => chan.read(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:885:13
|
885 | ChannelFlavor::List(chan) => chan.read(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:886:13
|
886 | ChannelFlavor::Zero(chan) => chan.read(token),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:912:9
|
912 | ReceiverFlavor::Channel(arc) => match &arc.flavor {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Channel(arc)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:917:9
|
917 | ReceiverFlavor::After(chan) => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::After(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:923:9
|
923 | ReceiverFlavor::Tick(chan) => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ReceiverFlavor::Tick(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:913:13
|
913 | ChannelFlavor::Array(chan) => chan.recv_nonblocking(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Array(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:914:13
|
914 | ChannelFlavor::List(chan) => chan.recv_nonblocking(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::List(chan)`
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:915:13
|
915 | ChannelFlavor::Zero(chan) => chan.recv_nonblocking(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ChannelFlavor::Zero(chan)`
error: aborting due to 145 previous errors
error: Could not compile `crossbeam-channel`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `elba v0.1.5`, intermediate artifacts can be found at `/tmp/cargo-install.Z8ePUMHN6V5I`
Caused by:
build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment