rust/src/test
Aaron Hill 1ded7a5815
Handle None-delimited groups when parsing macro_rules! macro
When a `macro_rules!` macro expands to another `macro_rules!` macro, we
may see `None`-delimited groups in odd places when another crate
deserializes the 'inner' macro. This commit 'unwraps' an outer
`None`-delimited group to avoid breaking existing code.

See https://github.com/rust-lang/rust/pull/73569#issuecomment-650860457
for more details.

The proper fix is to handle `None`-delimited groups systematically
throughout the parser, but that will require significant work. In the
meantime, this hack lets us fix important hygiene bugs in macros
2020-07-01 12:42:31 -04:00
..
assembly Add initial asm!() support for hexagon 2020-06-16 08:58:13 -05:00
auxiliary test: Fix warnings in rust_test_helpers.c 2020-05-06 23:54:05 +03:00
codegen Rollup merge of #73525 - cuviper:llvm11, r=nikic 2020-06-27 22:29:54 -07:00
codegen-units Change how compiler-builtins gets many CGUs 2020-06-15 07:38:00 -07:00
compile-fail Update tests 2020-06-28 10:08:12 -07:00
debuginfo Implement new gdb/lldb pretty-printers 2020-06-09 16:13:11 +03:00
incremental Auto merge of #72520 - jonas-schievink:cleanup-userty, r=matthewjasper 2020-05-25 06:17:15 +00:00
mir-opt Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
pretty asm: Allow multiple template strings; interpret them as newline-separated 2020-06-15 12:35:27 -07:00
run-make Auto merge of #71858 - petrochenkov:env, r=Mark-Simulacrum 2020-06-25 22:52:59 +00:00
run-make-fulldeps compiletest: Add directives to detect sanitizer support 2020-06-13 14:24:30 +02:00
run-pass-valgrind
rustdoc Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
rustdoc-js rustdoc: Fix doc aliases with crate filtering 2020-06-23 09:27:37 +01:00
rustdoc-js-std Make current crate aliases go first 2020-05-14 11:36:02 +02:00
rustdoc-ui Generate docs for links to private items when passed --document-private 2020-06-26 07:23:39 -04:00
rustfix
ui Handle None-delimited groups when parsing macro_rules! macro 2020-07-01 12:42:31 -04:00
ui-fulldeps make all uses of ty::Error or ConstKind::Error delay a span bug 2020-06-15 18:25:58 -05:00
COMPILER_TESTS.md