summary refs log tree commit diff
path: root/src/test/compile-fail/macros-nonfatal-errors.rs
AgeCommit message (Collapse)AuthorLines
2014-06-18Deprecate the bytes!() macro.Simon Sapin-1/+2
Replace its usage with byte string literals, except in `bytes!()` tests. Also add a new snapshot, to be able to use the new b"foo" syntax. The src/etc/2014-06-rewrite-bytes-macros.py script automatically rewrites `bytes!()` invocations into byte string literals. Pass it filenames as arguments to generate a diff that you can inspect, or `--apply` followed by filenames to apply the changes in place. Diffs can be piped into `tip` or `pygmentize -l diff` for coloring.
2014-04-04rustc: feature-gate `concat_idents!`.Huon Wilson-1/+1
concat_idents! is not as useful as it could be, due to macros only being allowed in limited places, and hygiene, so lets feature gate it until we make a decision about it. cc #13294
2014-03-28Convert most code to new inner attribute syntax.Brian Anderson-2/+2
Closes #2569
2014-01-27Feature gate trace_macros.xales-0/+1
Fixes #11631
2014-01-18syntax::ext: replace span_fatal with span_err in many places.Huon Wilson-0/+48
This means that compilation continues for longer, and so we can see more errors per compile. This is mildly more user-friendly because it stops users having to run rustc n times to see n macro errors: just run it once to see all of them.