| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-01-06 | core: split into fmt::Show and fmt::String | Sean McArthur | -2/+2 | |
| fmt::Show is for debugging, and can and should be implemented for all public types. This trait is used with `{:?}` syntax. There still exists #[derive(Show)]. fmt::String is for types that faithfully be represented as a String. Because of this, there is no way to derive fmt::String, all implementations must be purposeful. It is used by the default format syntax, `{}`. This will break most instances of `{}`, since that now requires the type to impl fmt::String. In most cases, replacing `{}` with `{:?}` is the correct fix. Types that were being printed specifically for users should receive a fmt::String implementation to fix this. Part of #20013 [breaking-change] | ||||
| 2015-01-07 | Replace full slice notation with index calls | Nick Cameron | -1/+1 | |
| 2014-12-21 | Fallout of std::str stabilization | Alex Crichton | -2/+1 | |
| 2014-12-05 | rollup merge of #19413: P1start/more-trailing-commas | Corey Richardson | -1/+1 | |
| The only other place I know of that doesn’t allow trailing commas is closure types (#19414), and those are a bit tricky to fix (I suspect it might be impossible without infinite lookahead) so I didn’t implement that in this patch. There are other issues surrounding closure type parsing anyway, in particular #19410. | ||||
| 2014-11-30 | Allow trailing commas in array patterns and attributes | P1start | -1/+1 | |
| 2014-11-30 | Adjust some error messages to start with a lowercase letter and not finish ↵ | P1start | -1/+1 | |
| with a full stop | ||||
| 2014-11-11 | syntax: improve message for misused inner attributes | Liigo Zhuang | -0/+2 | |
| 2014-10-30 | Use common variants for open and close delimiters | Brendan Zabarauskas | -6/+6 | |
| This common representation for delimeters should make pattern matching easier. Having a separate `token::DelimToken` enum also allows us to enforce the invariant that the opening and closing delimiters must be the same in `ast::TtDelimited`, removing the need to ensure matched delimiters when working with token trees. | ||||
| 2014-10-28 | Use PascalCase for token variants | Brendan Zabarauskas | -17/+16 | |
| 2014-10-16 | libsyntax: Remove all uses of {:?}. | Luqman Aden | -1/+1 | |
| 2014-09-14 | syntax: fix fallout from using ptr::P. | Eduard Burtescu | -15/+21 | |
| 2014-08-24 | Adjust the error messages to match the pattern "expected foo, found bar" | Jonas Hietala | -1/+1 | |
| Closes #8492 | ||||
| 2014-07-11 | Fix spans for attributes | Steven Fackler | -1/+1 | |
| They used to be one token too long, so you'd see things like ``` rust/rust/test.rs:1:1: 2:2 warning: unused attribute, rust/rust/test.rs:1 #![foo] rust/rust/test.rs:2 #![bar] ``` instead of ``` test.rs:1:1: 1:8 warning: unused attribute, #[warn(unused_attribute)] on by default test.rs:1 #![foo] ^~~~~~~ ``` | ||||
| 2014-07-09 | ast: make Name its own type | Corey Richardson | -2/+2 | |
| 2014-07-09 | lexer: lex WS/COMMENT/SHEBANG rather than skipping | Corey Richardson | -1/+1 | |
| Now, the lexer will categorize every byte in its input according to the grammar. The parser skips over these while parsing, thus avoiding their presence in the input to syntax extensions. | ||||
| 2014-07-09 | syntax: doc comments all the things | Corey Richardson | -21/+21 | |
| 2014-07-08 | std: Rename the `ToStr` trait to `ToString`, and `to_str` to `to_string`. | Richo Healey | -1/+1 | |
| [breaking-change] | ||||
| 2014-06-15 | Register new snapshots | Alex Crichton | -7/+0 | |
| 2014-06-14 | rustc: Obsolete the `@` syntax entirely | Alex Crichton | -1/+1 | |
| This removes all remnants of `@` pointers from rustc. Additionally, this removes the `GC` structure from the prelude as it seems odd exporting an experimental type in the prelude by default. Closes #14193 [breaking-change] | ||||
| 2014-06-13 | Fix all violations of stronger guarantees for mutable borrows | Cameron Zwarich | -1/+2 | |
| Fix all violations in the Rust source tree of the stronger guarantee of a unique access path for mutable borrows as described in #12624. | ||||
| 2014-06-11 | std: Remove i18n/l10n from format! | Alex Crichton | -0/+7 | |
| * The select/plural methods from format strings are removed * The # character no longer needs to be escaped * The \-based escapes have been removed * '{{' is now an escape for '{' * '}}' is now an escape for '}' Closes #14810 [breaking-change] | ||||
| 2014-06-11 | syntax: Move the AST from @T to Gc<T> | Alex Crichton | -11/+13 | |
| 2014-06-10 | Fix more misspelled comments and strings. | Joseph Crail | -1/+1 | |
| 2014-05-24 | Changes from feedback | Steven Fackler | -4/+4 | |
| 2014-05-24 | Add AttrId to Attribute_ | Steven Fackler | -1/+7 | |
| 2014-05-22 | auto merge of #14357 : huonw/rust/spelling, r=pnkfelix | bors | -4/+4 | |
| The span on a inner doc-comment would point to the next token, e.g. the span for the `a` line points to the `b` line, and the span of `b` points to the `fn`. ```rust //! a //! b fn bar() {} ``` | ||||
| 2014-05-22 | libstd: Remove `~str` from all `libstd` modules except `fmt` and `str`. | Patrick Walton | -1/+1 | |
| 2014-05-22 | syntax: put the correct span on doc-comments inside a module. | Huon Wilson | -4/+4 | |
| The position of the .bump call (before extracting the span fields) was causing a doc-comment to have the span of the next token, not itself. | ||||
| 2014-05-03 | Remove comment about semicolons for inner attributes from docs and adjust ↵ | Kevin Butler | -1/+2 | |
| comments. | ||||
| 2014-03-28 | Convert most code to new inner attribute syntax. | Brian Anderson | -3/+2 | |
| Closes #2569 | ||||
| 2014-03-28 | syntax: Accept meta matchers in macros | Alex Crichton | -11/+8 | |
| This removes the `attr` matcher and adds a `meta` matcher. The previous `attr` matcher is now ambiguous because it doesn't disambiguate whether it means inner attribute or outer attribute. The new behavior can still be achieved by taking an argument of the form `#[$foo:meta]` (the brackets are part of the macro pattern). Closes #13067 | ||||
| 2014-03-20 | syntax: Tidy up parsing the new attribute syntax | Alex Crichton | -28/+18 | |
| 2014-03-20 | Added new attribute syntax with backward compatibility. | Daniel Fagnan | -9/+27 | |
| Signed-off-by: Daniel Fagnan <dnfagnan@gmail.com> | ||||
| 2014-03-20 | Removing imports of std::vec_ng::Vec | Alex Crichton | -2/+0 | |
| It's now in the prelude. | ||||
| 2014-03-20 | rename std::vec_ng -> std::vec | Daniel Micay | -1/+1 | |
| Closes #12771 | ||||
| 2014-03-17 | De-@ ParseSess uses. | Eduard Burtescu | -1/+1 | |
| 2014-03-01 | libsyntax: Fix errors arising from the automated `~[T]` conversion | Patrick Walton | -0/+2 | |
| 2014-03-01 | libsyntax: Mechanically change `~[T]` to `Vec<T>` | Patrick Walton | -12/+12 | |
| 2014-02-02 | libsyntax: De-`@str` literal strings in the AST | Patrick Walton | -2/+2 | |
| 2014-02-02 | libsyntax: Introduce an `InternedString` type to reduce `@str` in the | Patrick Walton | -1/+1 | |
| compiler and use it for attributes | ||||
| 2014-01-09 | libsyntax: Renamed types, traits and enum variants to CamelCase. | Eduard Burtescu | -6/+6 | |
| 2014-01-02 | libsyntax: De-`@mut` `token` in the parser | Patrick Walton | -6/+6 | |
| 2014-01-02 | libsyntax: Make the parser mutable | Patrick Walton | -16/+17 | |
| 2013-11-28 | Register new snapshots | Alex Crichton | -3/+3 | |
| 2013-10-30 | syntax: Forbid non-string literals in meta items. #623 | Brian Anderson | -0/+10 | |
| 2013-10-22 | Drop the '2' suffix from logging macros | Alex Crichton | -2/+2 | |
| Who doesn't like a massive renaming? | ||||
| 2013-09-30 | syntax: Remove usage of fmt! | Alex Crichton | -4/+4 | |
| 2013-09-01 | Modernized a few type names in rustc and syntax | Marvin Löbel | -2/+2 | |
| 2013-08-17 | Fix warnings in librustc and libsyntax | Erick Tryzelaar | -1/+0 | |
| 2013-08-08 | Allow attributes to appear as macro arguments | Niko Matsakis | -57/+74 | |
| Fixes #8393 | ||||
