#![allow(while_true)]
#![allow(dead_code)]
-struct A(int);
+struct A(isize);
impl A {
fn foo(&self) { while true {} }
#[deny(while_true)]
mod foo {
- struct B(int);
+ struct B(isize);
impl B {
fn foo(&self) { while true {} } //~ ERROR: infinite loops