diff options
| author | bors <bors@rust-lang.org> | 2013-08-23 17:26:32 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-23 17:26:32 -0700 |
| commit | 7b5a91f4b346b99b4e9171eb8deb52d9bf2525ea (patch) | |
| tree | e708165d599989ba5183c335ea8455fee8bced46 /src/libstd | |
| parent | 2c0f9bd35493def5e23f0f43ddeba54da9d788b4 (diff) | |
| parent | 180e235d3dbe00ff3b247552bb83cca0be8cf06d (diff) | |
| download | rust-7b5a91f4b346b99b4e9171eb8deb52d9bf2525ea.tar.gz rust-7b5a91f4b346b99b4e9171eb8deb52d9bf2525ea.zip | |
auto merge of #8724 : thestinger/rust/fix-transmute, r=graydon
Monomorphize's normalization results in a 2% decrease in non-optimized code size for libstd, so there's a negligible cost to removing it. This also fixes several visit glue bugs because normalize wasn't considering the differences in visit glue between types. Closes #8720
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/repr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/repr.rs b/src/libstd/repr.rs index 743a47a812a..0218a0e7f3a 100644 --- a/src/libstd/repr.rs +++ b/src/libstd/repr.rs @@ -590,7 +590,7 @@ fn test_repr() { exact_test(&(~"he\u10f3llo"), "~\"he\\u10f3llo\""); exact_test(&(@10), "@10"); - exact_test(&(@mut 10), "@10"); // FIXME: #4210: incorrect + exact_test(&(@mut 10), "@mut 10"); exact_test(&((@mut 10, 2)), "(@mut 10, 2)"); exact_test(&(~10), "~10"); exact_test(&(&10), "&10"); |
