]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/drop-on-non-struct.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / drop-on-non-struct.rs
index 8d2ca0b0a6b66841a31a9221b2efeec864cdc57e..26b247d0d0f2eb01f97109aa278a35494f25064b 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-impl<'a> Drop for &'a mut int {
+impl<'a> Drop for &'a mut isize {
     //~^ ERROR the Drop trait may only be implemented on structures
     //~^^ ERROR E0117
     fn drop(&mut self) {