mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
derive copy/clone
This commit is contained in:
parent
9a8f206662
commit
6445a5d79d
@ -126,6 +126,7 @@ fn build_suggestion<'a, 'tcx>(
|
||||
Some(format!("{}.{}({})", receiver, method.suggestion(), cast_lhs))
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
enum Method {
|
||||
Offset,
|
||||
WrappingOffset,
|
||||
|
Loading…
Reference in New Issue
Block a user