We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f32d1d3 commit f287944Copy full SHA for f287944
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 66355607da4a2491e4a75dc6e0d2036120f0ede2
+refs/heads/master: 8b608125ac2d59cace17fc3f177d13e2a0021716
trunk/src/comp/syntax/ast_util.rs
@@ -193,7 +193,10 @@ fn is_constraint_arg(e: @expr) -> bool {
193
194
fn eq_ty(&&a: @ty, &&b: @ty) -> bool { ret std::box::ptr_eq(a, b); }
195
196
-fn hash_ty(&&t: @ty) -> uint { ret t.span.lo << 16u + t.span.hi; }
+fn hash_ty(&&t: @ty) -> uint {
197
+ let res = (t.span.lo << 16u) + t.span.hi;
198
+ ret res;
199
+}
200
201
fn hash_def_id(&&id: def_id) -> uint {
202
id.crate as uint << 16u + (id.node as uint)
0 commit comments