about summary refs log tree commit diff
path: root/src/test/ui/proc-macro/invalid-punct-ident-3.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-9/+0
2022-09-16Adding needs-unwind arg to applicable compiler ui testsAndrew Pollack-0/+1
2022-07-31Remove workarounds for issue 59998bjorn3-5/+0
2022-07-18proc_macro: stop using a remote object handle for IdentNika Layzell-13/+5
Doing this for all unicode identifiers would require a dependency on `unicode-normalization` and `rustc_lexer`, which is currently not possible for `proc_macro` due to it being built concurrently with `std` and `core`. Instead, ASCII identifiers are validated locally, and an RPC message is used to validate unicode identifiers when needed. String values are interned on the both the server and client when deserializing, to avoid unnecessary copies and keep Ident cheap to copy and move. This appears to be important for performance. The client-side interner is based roughly on the one from rustc_span, and uses an arena inspired by rustc_arena. RPC messages passing symbols always include the full value. This could potentially be optimized in the future if it is revealed to be a performance bottleneck. Despite now having a relevant implementaion of Display for Ident, ToString is still specialized, as it is a hot-path for this object. The symbol infrastructure will also be used for literals in the next part.
2020-10-09add filter regexes to load-panic-backtraces testhosseind75-0/+3
2020-03-24defatalize BangProcMacro::expandMazdak Farrokhzad-0/+2
2019-10-02Set RUST_BACKTRACE=0 in tests that include a backtrace in stderrAaron Hill-0/+1
This removes the implicit dependency on the environment variables set when running `./x.py test`
2019-09-14Try to fix the test output normalizationJonas Schievink-5/+5
2019-08-30Update proc-macro testsJonas Schievink-0/+5
Due to #59998, the panic hook fires incorrectly for errors that should not be treated as ICEs. Previously, this would only print the default panic message, but moving the ICE printing into the panic handler will now print the entire ICE ordeal we all hate to see. Unfortunately this will make #59998 a lot more visible.
2019-04-16this panic occurs not just on Windows, normalize it away everywhereRalf Jung-2/+2
2019-04-15normalize away some Windows-only panic printingRalf Jung-0/+4
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-30tests: move all proc_macro tests from -fulldeps.Eduard-Mihai Burtescu-0/+16