We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83ced67 commit d2e1bfbCopy full SHA for d2e1bfb
src/librustc/middle/ty.rs
@@ -339,7 +339,9 @@ pub pure fn get(t: t) -> t_box {
339
pub pure fn tbox_has_flag(tb: t_box, flag: tbox_flag) -> bool {
340
(tb.flags & (flag as uint)) != 0u
341
}
342
-pub pure fn type_has_params(t: t) -> bool { tbox_has_flag(get(t), has_params) }
+pub pure fn type_has_params(t: t) -> bool {
343
+ tbox_has_flag(get(t), has_params)
344
+}
345
pub pure fn type_has_self(t: t) -> bool { tbox_has_flag(get(t), has_self) }
346
pub pure fn type_needs_infer(t: t) -> bool {
347
tbox_has_flag(get(t), needs_infer)
0 commit comments