]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/test.rs
rollup merge of #21438: taralx/kill-racycell
[rust.git] / src / libsyntax / test.rs
index 5f869d5093feca6303ca863e0d9fbf238e18b2bb..3022b2b41b7fc38d1e269cf0ed05a9a296162768 100644 (file)
@@ -339,8 +339,8 @@ fn has_test_signature(i: &ast::Item) -> bool {
                 let tparm_cnt = generics.ty_params.len();
                 // NB: inadequate check, but we're running
                 // well before resolve, can't get too deep.
-                input_cnt == 1u
-                    && no_output && tparm_cnt == 0u
+                input_cnt == 1us
+                    && no_output && tparm_cnt == 0us
             }
           _ => false
         }