<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libterm/terminfo, branch 1.3.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.3.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.3.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-07-27T23:38:25+00:00</updated>
<entry>
<title>std: Deprecate a number of unstable features</title>
<updated>2015-07-27T23:38:25+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-07-08T15:33:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b3aa1a6d4ac88f68e036a05fdf19be63b522b65d'/>
<id>urn:sha1:b3aa1a6d4ac88f68e036a05fdf19be63b522b65d</id>
<content type='text'>
Many of these have long since reached their stage of being obsolete, so this
commit starts the removal process for all of them. The unstable features that
were deprecated are:

* cmp_partial
* fs_time
* hash_default
* int_slice
* iter_min_max
* iter_reset_fuse
* iter_to_vec
* map_in_place
* move_from
* owned_ascii_ext
* page_size
* read_and_zero
* scan_state
* slice_chars
* slice_position_elem
* subslice_offset
</content>
</entry>
<entry>
<title>Temp fix for all constants that are missing docs.</title>
<updated>2015-06-21T15:04:37+00:00</updated>
<author>
<name>Eljay</name>
<email>lee@leejeffery.co.uk</email>
</author>
<published>2015-06-21T15:04:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c0d485ce9acde28e548e6742abeecadee4c94adc'/>
<id>urn:sha1:c0d485ce9acde28e548e6742abeecadee4c94adc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed many pointless calls to *iter() and iter_mut()</title>
<updated>2015-06-10T20:14:03+00:00</updated>
<author>
<name>Joshua Landau</name>
<email>joshua@landau.ws</email>
</author>
<published>2015-06-10T16:22:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ca7418b84658fc1c723672c462aa0a7878d88b64'/>
<id>urn:sha1:ca7418b84658fc1c723672c462aa0a7878d88b64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change name of unit test sub-module to "tests".</title>
<updated>2015-04-24T21:06:41+00:00</updated>
<author>
<name>Johannes Oertel</name>
<email>johannes.oertel@uni-due.de</email>
</author>
<published>2015-04-24T15:30:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=07cc7d9960a1bc767dc051b9fae0c7ad2b5cd97f'/>
<id>urn:sha1:07cc7d9960a1bc767dc051b9fae0c7ad2b5cd97f</id>
<content type='text'>
Changes the style guidelines regarding unit tests to recommend using a
sub-module named "tests" instead of "test" for unit tests as "test"
might clash with imports of libtest.
</content>
</entry>
<entry>
<title>Remove dead test</title>
<updated>2015-04-21T15:16:02+00:00</updated>
<author>
<name>Tamir Duberstein</name>
<email>tamird@gmail.com</email>
</author>
<published>2015-04-21T01:52:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fe7f95fb3cdfa38531b1072ba42bea09297a39db'/>
<id>urn:sha1:fe7f95fb3cdfa38531b1072ba42bea09297a39db</id>
<content type='text'>
This was moved to https://github.com/rust-lang/term/issues/12
</content>
</entry>
<entry>
<title>Negative case of `len()` -&gt; `is_empty()`</title>
<updated>2015-04-15T03:26:03+00:00</updated>
<author>
<name>Tamir Duberstein</name>
<email>tamird@gmail.com</email>
</author>
<published>2015-03-24T23:54:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=10f15e72e6c265eb43d34dba564d86dbf1c4fb99'/>
<id>urn:sha1:10f15e72e6c265eb43d34dba564d86dbf1c4fb99</id>
<content type='text'>
`s/([^\(\s]+\.)len\(\) [(?:!=)&gt;] 0/!$1is_empty()/g`
</content>
</entry>
<entry>
<title>Positive case of `len()` -&gt; `is_empty()`</title>
<updated>2015-04-15T03:26:03+00:00</updated>
<author>
<name>Tamir Duberstein</name>
<email>tamird@gmail.com</email>
</author>
<published>2015-03-24T23:53:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=29ac04402d53d358a1f6200bea45a301ff05b2d1'/>
<id>urn:sha1:29ac04402d53d358a1f6200bea45a301ff05b2d1</id>
<content type='text'>
`s/(?&lt;!\{ self)(?&lt;=\.)len\(\) == 0/is_empty()/g`
</content>
</entry>
<entry>
<title>Fallout in public-facing and semi-public-facing libs</title>
<updated>2015-04-01T15:23:45+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2015-03-30T13:40:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c35c46821a69af14e6b38e0238f70e22433a3e8e'/>
<id>urn:sha1:c35c46821a69af14e6b38e0238f70e22433a3e8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mass rename uint/int to usize/isize</title>
<updated>2015-03-26T19:10:22+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-03-26T00:06:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=43bfaa4a336095eb5697fb2df50909fd3c72ed14'/>
<id>urn:sha1:43bfaa4a336095eb5697fb2df50909fd3c72ed14</id>
<content type='text'>
Now that support has been removed, all lingering use cases are renamed.
</content>
</entry>
<entry>
<title>Add trivial cast lints.</title>
<updated>2015-03-24T21:03:57+00:00</updated>
<author>
<name>Nick Cameron</name>
<email>ncameron@mozilla.com</email>
</author>
<published>2015-03-20T04:15:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=95602a759d9190cad92279aa5929d30166f2255c'/>
<id>urn:sha1:95602a759d9190cad92279aa5929d30166f2255c</id>
<content type='text'>
This permits all coercions to be performed in casts, but adds lints to warn in those cases.

Part of this patch moves cast checking to a later stage of type checking. We acquire obligations to check casts as part of type checking where we previously checked them. Once we have type checked a function or module, then we check any cast obligations which have been acquired. That means we have more type information available to check casts (this was crucial to making coercions work properly in place of some casts), but it means that casts cannot feed input into type inference.

[breaking change]

* Adds two new lints for trivial casts and trivial numeric casts, these are warn by default, but can cause errors if you build with warnings as errors. Previously, trivial numeric casts and casts to trait objects were allowed.
* The unused casts lint has gone.
* Interactions between casting and type inference have changed in subtle ways. Two ways this might manifest are:
- You may need to 'direct' casts more with extra type information, for example, in some cases where `foo as _ as T` succeeded, you may now need to specify the type for `_`
- Casts do not influence inference of integer types. E.g., the following used to type check:

```
let x = 42;
let y = &amp;x as *const u32;
```

Because the cast would inform inference that `x` must have type `u32`. This no longer applies and the compiler will fallback to `i32` for `x` and thus there will be a type error in the cast. The solution is to add more type information:

```
let x: u32 = 42;
let y = &amp;x as *const u32;
```
</content>
</entry>
</feed>
