mozilla/rust — pull request #2469 by lkuper (2012-05-30 23:18:57+00:00)
Title: Relax the need for "u" suffixes on uints under certain conditions.

An attempt at Issue #1425. A more principled approach would have to
involve creating a new kind of type variable and doing unification on
those, separately from the existing type vars; this is more of a quick
hack.

Explaining the two tests I changed: It looks as though the
issue-1448-2.rs and issue-1362.rs tests were using unsuffixed integer
literals in a context that expected a uint, merely to trigger a
"mismatched types" error in the fastest way possible. So, we can just
replace the unsuffixed integer literal with a string.