about summary refs log tree commit diff
path: root/src/libsyntax/diagnostics/macros.rs
AgeCommit message (Collapse)AuthorLines
2015-01-20Add some extended errors.Michael Sproul-0/+6
2015-01-20Make fatal errors work with codes, add to typeckBrian Anderson-0/+8
2015-01-05Stop using macro_escape as an inner attributeKeegan McAllister-2/+0
In preparation for the rename.
2014-12-18librustc: Always parse `macro!()`/`macro![]` as expressions if notPatrick Walton-15/+16
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]
2014-10-29Diagnostic: resolve bare fn in expected closuregamazeps-0/+7
Closes #15273 (I did not find how to get the identifier in the message :/) Also creates the span_help! macro associated with #18126
2014-07-19Register new snapshotsAlex Crichton-26/+0
2014-07-18Assign more diagnostic codesJakub Wieczorek-6/+6
2014-07-12Convert a first batch of diagnostics to have error codesJakub Wieczorek-0/+22
2014-07-11Add scaffolding for assigning alpha-numeric codes to rustc diagnosticsJakub Wieczorek-0/+51