<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/diagnostics/plugin.rs, branch 1.0.0-alpha</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.0.0-alpha</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.0.0-alpha'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-01-07T22:35:56+00:00</updated>
<entry>
<title>use slicing sugar</title>
<updated>2015-01-07T22:35:56+00:00</updated>
<author>
<name>Jorge Aparicio</name>
<email>japaricious@gmail.com</email>
</author>
<published>2015-01-07T16:58:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=517f1cc63c1a5df148fdeef56791f66771d3d8e8'/>
<id>urn:sha1:517f1cc63c1a5df148fdeef56791f66771d3d8e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace full slice notation with index calls</title>
<updated>2015-01-06T21:46:33+00:00</updated>
<author>
<name>Nick Cameron</name>
<email>ncameron@mozilla.com</email>
</author>
<published>2015-01-02T00:56:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f7ff37e4c52a1d6562635fcd5bab6309cf75ea08'/>
<id>urn:sha1:f7ff37e4c52a1d6562635fcd5bab6309cf75ea08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More fallout</title>
<updated>2015-01-01T21:28:19+00:00</updated>
<author>
<name>Nick Cameron</name>
<email>ncameron@mozilla.com</email>
</author>
<published>2015-01-01T04:40:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c92ddeda7e2a8e9b6d6b629818eacdb96787575'/>
<id>urn:sha1:2c92ddeda7e2a8e9b6d6b629818eacdb96787575</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fallout of std::str stabilization</title>
<updated>2014-12-22T07:31:42+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-12-11T03:46:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=082bfde412176249dc7328e771a2a15d202824cf'/>
<id>urn:sha1:082bfde412176249dc7328e771a2a15d202824cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>librustc: Always parse `macro!()`/`macro![]` as expressions if not</title>
<updated>2014-12-18T17:09:07+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2014-11-14T17:18:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ddb2466f6a1bb66f22824334022a4cee61c73bdc'/>
<id>urn:sha1:ddb2466f6a1bb66f22824334022a4cee61c73bdc</id>
<content type='text'>
followed by a semicolon.

This allows code like `vec![1i, 2, 3].len();` to work.

This breaks code that uses macros as statements without putting
semicolons after them, such as:

    fn main() {
        ...
        assert!(a == b)
        assert!(c == d)
        println(...);
    }

It also breaks code that uses macros as items without semicolons:

    local_data_key!(foo)

    fn main() {
        println("hello world")
    }

Add semicolons to fix this code. Those two examples can be fixed as
follows:

    fn main() {
        ...
        assert!(a == b);
        assert!(c == d);
        println(...);
    }

    local_data_key!(foo);

    fn main() {
        println("hello world")
    }

RFC #378.

Closes #18635.

[breaking-change]
</content>
</entry>
<entry>
<title>libsyntax: use unboxed closures</title>
<updated>2014-12-13T22:03:47+00:00</updated>
<author>
<name>Jorge Aparicio</name>
<email>japaricious@gmail.com</email>
</author>
<published>2014-12-08T18:28:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0dac05dd627612232403c07ca8bd6d3376eec64a'/>
<id>urn:sha1:0dac05dd627612232403c07ca8bd6d3376eec64a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Modify libsyntax/diagnostics to not be so persnickety. The scheme</title>
<updated>2014-12-04T15:04:51+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2014-11-27T01:49:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cc32f867d8337cfb97fbddf832169dc79556e31d'/>
<id>urn:sha1:cc32f867d8337cfb97fbddf832169dc79556e31d</id>
<content type='text'>
doesn't work in a multi-crate context. We'll need to come up with
something better.
</content>
</entry>
<entry>
<title>std: Add a new top-level thread_local module</title>
<updated>2014-11-24T07:37:16+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-11-14T22:20:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a9c1152c4bf72132806cb76045b3464d59db07da'/>
<id>urn:sha1:a9c1152c4bf72132806cb76045b3464d59db07da</id>
<content type='text'>
This commit removes the `std::local_data` module in favor of a new
`std::thread_local` module providing thread local storage. The module provides
two variants of TLS: one which owns its contents and one which is based on
scoped references. Each implementation has pros and cons listed in the
documentation.

Both flavors have accessors through a function called `with` which yield a
reference to a closure provided. Both flavors also panic if a reference cannot
be yielded and provide a function to test whether an access would panic or not.
This is an implementation of [RFC 461][rfc] and full details can be found in
that RFC.

This is a breaking change due to the removal of the `std::local_data` module.
All users can migrate to the new thread local system like so:

    thread_local!(static FOO: Rc&lt;RefCell&lt;Option&lt;T&gt;&gt;&gt; = Rc::new(RefCell::new(None)))

The old `local_data` module inherently contained the `Rc&lt;RefCell&lt;Option&lt;T&gt;&gt;&gt;` as
an implementation detail which must now be explicitly stated by users.

[rfc]: https://github.com/rust-lang/rfcs/pull/461
[breaking-change]
</content>
</entry>
<entry>
<title>Parse and store suffixes on literals.</title>
<updated>2014-11-19T13:02:42+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2014-11-19T04:48:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6679595853705ca11f64984a055be60233321a4a'/>
<id>urn:sha1:6679595853705ca11f64984a055be60233321a4a</id>
<content type='text'>
This adds an optional suffix at the end of a literal token:
`"foo"bar`. An actual use of a suffix in a expression (or other literal
that the compiler reads) is rejected in the parser.

This doesn't switch the handling of numbers to this system, and doesn't
outlaw illegal suffixes for them yet.
</content>
</entry>
<entry>
<title>Switch to an independent enum for `Lit*` subtokens.</title>
<updated>2014-11-19T01:52:31+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2014-11-18T23:17:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5b5638f6863803477d56e200d6a9a208015838c1'/>
<id>urn:sha1:5b5638f6863803477d56e200d6a9a208015838c1</id>
<content type='text'>
</content>
</entry>
</feed>
