]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_codegen_ssa/interfaces/abi.rs
All Builder methods now take &mut self instead of &self
[rust.git] / src / librustc_codegen_ssa / interfaces / abi.rs
index eda6d92dabe387bd5d597c8f7c88c189433799b6..f35eb84813f753a7777b199346e9bec81951b04f 100644 (file)
@@ -19,5 +19,5 @@ pub trait AbiMethods<'tcx> {
 }
 
 pub trait AbiBuilderMethods<'tcx>: HasCodegen<'tcx> {
-    fn apply_attrs_callsite(&self, ty: &FnType<'tcx, Ty<'tcx>>, callsite: Self::Value);
+    fn apply_attrs_callsite(&mut self, ty: &FnType<'tcx, Ty<'tcx>>, callsite: Self::Value);
 }