Skip to content

Commit 6f52bea

Browse files
bors[bot]alygin
andauthored
Merge #827
827: Remove unused macro rules r=taiki-e a=alygin The [new `unused_macro_rules` lint](rust-lang/rust#73576) that recently landed in nightly [breaks](https://github.com/crossbeam-rs/crossbeam/actions/runs/2316949414) CI builds. This fix removes unused macro arms in tests. Co-authored-by: Andrew Lygin <[email protected]>
2 parents bf4c467 + c8c1c83 commit 6f52bea

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

crossbeam-channel/tests/golang.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -238,14 +238,6 @@ macro_rules! defer {
238238
}
239239

240240
macro_rules! go {
241-
(@parse ref $v:ident, $($tail:tt)*) => {{
242-
let ref $v = $v;
243-
go!(@parse $($tail)*)
244-
}};
245-
(@parse move $v:ident, $($tail:tt)*) => {{
246-
let $v = $v;
247-
go!(@parse $($tail)*)
248-
}};
249241
(@parse $v:ident, $($tail:tt)*) => {{
250242
let $v = $v.clone();
251243
go!(@parse $($tail)*)

0 commit comments

Comments
 (0)