<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/ext/bytes.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-01-07T20:56:16+00:00</updated>
<entry>
<title>std: Stablize the macros module</title>
<updated>2015-01-07T20:56:16+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-01-06T19:07:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=209c701bf9e95542aec69455bc12c7ca295109c4'/>
<id>urn:sha1:209c701bf9e95542aec69455bc12c7ca295109c4</id>
<content type='text'>
This commit performs a pass over the `std::macros` module, applying stability
attributes where necessary. In particular, this audits macros for patterns such
as:

* Standard use of forward-to-format-args via `$($arg:tt)*` (or `+`)
* Prevent macro-defined identifiers from leaking into expression arguments as
  hygiene is not perfectly implemented.
* Wherever possible, `$crate` is used now.

Specifically, the following actions were taken:

* The `std::macros` module itself is no longer public.
* The `panic!` macro is stable
* The `assert!` macro is stable
* The `assert_eq!` macro is stable
* The `debug_assert!` macro is stable
* The `debug_assert_eq!` macro is stable
* The `unreachable!` macro is stable after removing the extra forms to bring the
  definition in line with the `unimplemented!` macro.
* The `try!` macro is stable
* The `vec!` macro is stable

[breaking-change]
</content>
</entry>
<entry>
<title>std: Stabilize the prelude module</title>
<updated>2015-01-02T16:54:06+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-12-22T17:04:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=56290a004493a5d2e211f056601533253497df60'/>
<id>urn:sha1:56290a004493a5d2e211f056601533253497df60</id>
<content type='text'>
This commit is an implementation of [RFC 503][rfc] which is a stabilization
story for the prelude. Most of the RFC was directly applied, removing reexports.
Some reexports are kept around, however:

* `range` remains until range syntax has landed to reduce churn.
* `Path` and `GenericPath` remain until path reform lands. This is done to
  prevent many imports of `GenericPath` which will soon be removed.
* All `io` traits remain until I/O reform lands so imports can be rewritten all
  at once to `std::io::prelude::*`.

This is a breaking change because many prelude reexports have been removed, and
the RFC can be consulted for the exact list of removed reexports, as well as to
find the locations of where to import them.

[rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0503-prelude-stabilization.md
[breaking-change]

Closes #20068
</content>
</entry>
<entry>
<title>Remove Ascii, AsciiCast, OwnedAsciiCast, AsciiStr, IntoBytes, IntoString.</title>
<updated>2014-12-25T11:19:37+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2014-12-07T01:55:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3a6ccdc263d9a169c2d317a6f78664e1f18d3b15'/>
<id>urn:sha1:3a6ccdc263d9a169c2d317a6f78664e1f18d3b15</id>
<content type='text'>
As a replacement, add is_ascii() to AsciiExt, and implement AsciiExt for u8 and char.

[breaking-change]
</content>
</entry>
<entry>
<title>Convert some notes to help messages</title>
<updated>2014-11-02T03:12:23+00:00</updated>
<author>
<name>P1start</name>
<email>rewi-github@whanau.org</email>
</author>
<published>2014-10-18T02:39:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5bf9ef2122e2d9c872ea551d0561c9326940446f'/>
<id>urn:sha1:5bf9ef2122e2d9c872ea551d0561c9326940446f</id>
<content type='text'>
Closes #18126.
</content>
</entry>
<entry>
<title>syntax: Tweak the return value of bytes!()</title>
<updated>2014-10-09T16:44:51+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-10-07T02:15:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9c09c9434764127f857a9599b93dc090ac63cc2b'/>
<id>urn:sha1:9c09c9434764127f857a9599b93dc090ac63cc2b</id>
<content type='text'>
Instead of returning &amp;'static [u8], an invocation of `bytes!()` now returns
`&amp;'static [u8, ..N]` where `N` is the length of the byte vector. This should
functionally be the same, but there are some cases where an explicit cast may be
needed, so this is a:

[breaking-change]
</content>
</entry>
<entry>
<title>manual -&gt; reference &amp; formatting</title>
<updated>2014-09-22T21:54:09+00:00</updated>
<author>
<name>Steve Klabnik</name>
<email>steve@steveklabnik.com</email>
</author>
<published>2014-09-19T17:45:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=47682f96de1da3bb0986e44e529cc51f24549c86'/>
<id>urn:sha1:47682f96de1da3bb0986e44e529cc51f24549c86</id>
<content type='text'>
'reference' sounds better than 'manual' to me here, and rust.html is
certainly wrong.

I also wrapped everything to 80 cols.
</content>
</entry>
<entry>
<title>syntax: fix fallout from using ptr::P.</title>
<updated>2014-09-14T00:39:36+00:00</updated>
<author>
<name>Eduard Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2014-09-13T16:06:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ccd8498afbb371939b7decdbee712f726ccbded3'/>
<id>urn:sha1:ccd8498afbb371939b7decdbee712f726ccbded3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement generalized object and type parameter bounds (Fixes #16462)</title>
<updated>2014-08-28T01:46:52+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2014-08-28T01:46:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1b487a890695e7d6dfbfe5dcd7d4fa0e8ca8003f'/>
<id>urn:sha1:1b487a890695e7d6dfbfe5dcd7d4fa0e8ca8003f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixes missing overflow lint for i64 #14269</title>
<updated>2014-08-05T07:59:03+00:00</updated>
<author>
<name>Falco Hirschenberger</name>
<email>falco.hirschenberger@gmail.com</email>
</author>
<published>2014-08-05T07:59:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0dc215741b34236c310e409c437600ba0165c97c'/>
<id>urn:sha1:0dc215741b34236c310e409c437600ba0165c97c</id>
<content type='text'>
The `type_overflow` lint, doesn't catch the overflow for `i64` because
the overflow happens earlier in the parse phase when the `u64` as biggest
possible int gets casted to `i64` , without checking the for overflows.
We can't lint in the parse phase, so a refactoring of the `LitInt` type
was necessary.

The types `LitInt`, `LitUint` and `LitIntUnsuffixed` where merged to one
type `LitInt` which stores it's value as `u64`. An additional parameter was
added which indicate the signedness of the type and the sign of the value.
</content>
</entry>
<entry>
<title>Revert bytes!() docstring change, and fix a typo.</title>
<updated>2014-06-19T00:02:23+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2014-06-18T22:59:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=72f0d4535715505c1cc429ef277a954ba26366bd'/>
<id>urn:sha1:72f0d4535715505c1cc429ef277a954ba26366bd</id>
<content type='text'>
</content>
</entry>
</feed>
