Fixed remaning clippy warnings

This commit is contained in:
Aaron Power
2018-07-25 20:18:15 +01:00
committed by Dan Gohman
parent 952a086f32
commit cc7ba7e69a
2 changed files with 6 additions and 5 deletions

View File

@@ -97,6 +97,7 @@ impl VirtRegs {
///
/// If `value` belongs to a virtual register, the congruence class is the values of the virtual
/// register. Otherwise it is just the value itself.
#[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))]
pub fn congruence_class<'a, 'b>(&'a self, value: &'b Value) -> &'b [Value]
where
'a: 'b,