rust/tests/ui/proc-macro
Matthias Krüger 7d78885a8e
Rollup merge of #111891 - rustbox:feat/riscv-isr-cconv, r=jackh726
feat: `riscv-interrupt-{m,s}` calling conventions

Similar to prior support added for the mips430, avr, and x86 targets this change implements the rough equivalent of clang's [`__attribute__((interrupt))`][clang-attr] for riscv targets, enabling e.g.

```rust
static mut CNT: usize = 0;

pub extern "riscv-interrupt-m" fn isr_m() {
    unsafe {
        CNT += 1;
    }
}
```

to produce highly effective assembly like:

```asm
pub extern "riscv-interrupt-m" fn isr_m() {
420003a0:       1141                    addi    sp,sp,-16
    unsafe {
        CNT += 1;
420003a2:       c62a                    sw      a0,12(sp)
420003a4:       c42e                    sw      a1,8(sp)
420003a6:       3fc80537                lui     a0,0x3fc80
420003aa:       63c52583                lw      a1,1596(a0) # 3fc8063c <_ZN12esp_riscv_rt3CNT17hcec3e3a214887d53E.0>
420003ae:       0585                    addi    a1,a1,1
420003b0:       62b52e23                sw      a1,1596(a0)
    }
}
420003b4:       4532                    lw      a0,12(sp)
420003b6:       45a2                    lw      a1,8(sp)
420003b8:       0141                    addi    sp,sp,16
420003ba:       30200073                mret
```

(disassembly via `riscv64-unknown-elf-objdump -C -S --disassemble ./esp32c3-hal/target/riscv32imc-unknown-none-elf/release/examples/gpio_interrupt`)

This outcome is superior to hand-coded interrupt routines which, lacking visibility into any non-assembly body of the interrupt handler, have to be very conservative and save the [entire CPU state to the stack frame][full-frame-save]. By instead asking LLVM to only save the registers that it uses, we defer the decision to the tool with the best context: it can more accurately account for the cost of spills if it knows that every additional register used is already at the cost of an implicit spill.

At the LLVM level, this is apparently [implemented by] marking every register as "[callee-save]," matching the semantics of an interrupt handler nicely (it has to leave the CPU state just as it found it after its `{m|s}ret`).

This approach is not suitable for every interrupt handler, as it makes no attempt to e.g. save the state in a user-accessible stack frame. For a full discussion of those challenges and tradeoffs, please refer to [the interrupt calling conventions RFC][rfc].

Inside rustc, this implementation differs from prior art because LLVM does not expose the "all-saved" function flavor as a calling convention directly, instead preferring to use an attribute that allows for differentiating between "machine-mode" and "superivsor-mode" interrupts.

Finally, some effort has been made to guide those who may not yet be aware of the differences between machine-mode and supervisor-mode interrupts as to why no `riscv-interrupt` calling convention is exposed through rustc, and similarly for why `riscv-interrupt-u` makes no appearance (as it would complicate future LLVM upgrades).

[clang-attr]: https://clang.llvm.org/docs/AttributeReference.html#interrupt-risc-v
[full-frame-save]: 9281af2ecf/src/lib.rs (L440-L469)
[implemented by]: b7fb2a3fec/llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp (L61-L67)
[callee-save]: 973f1fe7a8/llvm/lib/Target/RISCV/RISCVCallingConv.td (L30-L37)
[rfc]: https://github.com/rust-lang/rfcs/pull/3246
2023-08-09 22:59:58 +02:00
..
auxiliary fix proc-macro test added here to solely be exercised as a build product for the host. 2023-08-08 11:40:35 -04:00
debug Move /src/test to /tests 2023-01-11 09:32:08 +00:00
outer Add some reasons why tests are ignored. 2023-04-15 16:11:42 -07:00
pretty-print-hack Add some reasons why tests are ignored. 2023-04-15 16:11:42 -07:00
add-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
allowed-attr-stmt-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
allowed-attr-stmt-expr.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
allowed-signatures.rs Fix proc macro tests 2023-01-19 16:31:50 +01:00
ambiguous-builtin-attrs-test.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ambiguous-builtin-attrs-test.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ambiguous-builtin-attrs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ambiguous-builtin-attrs.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
amputate-span.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
amputate-span.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
amputate-span.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
append-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-args.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-cfg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-complex-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-complex-fn.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-invalid-exprs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-invalid-exprs.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-on-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-stmt-expr-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-stmt-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-stmt-expr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-stmt-expr.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
attribute-after-derive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attribute-after-derive.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attribute-spans-preserved.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attribute-spans-preserved.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attribute-spans-preserved.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attribute-with-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attribute-with-error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attribute.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attribute.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attributes-included.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attributes-included.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attributes-on-definitions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attributes-on-definitions.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attributes-on-modules-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attributes-on-modules-fail.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
attributes-on-modules.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-projection.rs Simplify proc macro signature validity check 2023-03-14 19:05:21 +00:00
bad-projection.stderr Simplify proc macro signature validity check 2023-03-14 19:05:21 +00:00
bang-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
break-token-spans.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
break-token-spans.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
call-deprecated.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
call-deprecated.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
call-site.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
capture-macro-rules-invoke.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
capture-macro-rules-invoke.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
capture-unglued-token.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
capture-unglued-token.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
cfg-eval-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-eval-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-eval-inner.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-eval-inner.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-eval.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-eval.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
count_compound_ops.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
crate-attrs-multiple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
crate-var.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
crt-static.rs add support for needs-dynamic-linking 2023-06-20 17:20:57 +02:00
custom-attr-only-one-derive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
define-two.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
define-two.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-attr-cfg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-b.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-bad.rs Fix typos in compiler 2023-04-10 22:02:52 +02:00
derive-bad.stderr Fix typos in compiler 2023-04-10 22:02:52 +02:00
derive-expand-order.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-expand-order.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-helper-configured.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-helper-legacy-limits.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-helper-legacy-limits.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-helper-legacy-spurious.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-helper-legacy-spurious.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-helper-shadowed.rs tests/ui/proc-macro/*: Migrate FIXMEs to check-pass 2023-07-27 10:37:31 +02:00
derive-helper-shadowing-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-helper-shadowing.rs resolve: Remove artificial import ambiguity errors 2023-06-29 13:42:58 +03:00
derive-helper-shadowing.stderr resolve: Remove artificial import ambiguity errors 2023-06-29 13:42:58 +03:00
derive-helper-vs-legacy.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-in-mod.rs tests/ui/proc-macro/*: Migrate FIXMEs to check-pass 2023-07-27 10:37:31 +02:00
derive-multiple-with-packed.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-same-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-same-struct.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-still-gated.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-still-gated.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-test.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-two-attrs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
derive-union.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
disappearing-resolution.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
disappearing-resolution.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-comment-preserved.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-comment-preserved.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dollar-crate-issue-57089.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dollar-crate-issue-57089.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
dollar-crate-issue-62325.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dollar-crate-issue-62325.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
dollar-crate-issue-101211.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dollar-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dollar-crate.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
edition-imports-2018.rs tests/ui/proc-macro/*: Migrate FIXMEs to check-pass 2023-07-27 10:37:31 +02:00
empty-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-where-clause.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expand-expr.rs ui tests: Remap test base directory by default. 2023-01-16 18:33:25 +00:00
expand-expr.stderr ui tests: Remap test base directory by default. 2023-01-16 18:33:25 +00:00
expand-to-derive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expand-to-derive.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
expand-to-unstable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expand-to-unstable.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expand-with-a-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
export-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
export-macro.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
exports.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
exports.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-stmt-nonterminal-tokens.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-stmt-nonterminal-tokens.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
extern-prelude-extern-crate-proc-macro.rs tests/ui/proc-macro/*: Migrate FIXMEs to check-pass 2023-07-27 10:37:31 +02:00
gen-lifetime-token.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
gen-macro-rules-hygiene.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
gen-macro-rules-hygiene.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
gen-macro-rules.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generate-dollar-ident.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
generate-mod.rs Revert "Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error" 2023-01-20 17:13:55 -05:00
generate-mod.stderr Revert "Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error" 2023-01-20 17:13:55 -05:00
helper-attr-blocked-by-import-ambig.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
helper-attr-blocked-by-import-ambig.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
helper-attr-blocked-by-import.rs tests/ui/proc-macro/*: Migrate FIXMEs to check-pass 2023-07-27 10:37:31 +02:00
hygiene_example.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
illegal-proc-macro-derive-use.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
illegal-proc-macro-derive-use.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
import.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
import.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inert-attribute-order.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inert-attribute-order.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-attr-non-inline-mod.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-attr-non-inline-mod.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-attr-non-inline-mod.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-attrs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-attrs.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-attrs.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
input-interpolated.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
input-interpolated.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
invalid-attributes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-attributes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-punct-ident-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-punct-ident-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-punct-ident-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-punct-ident-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-punct-ident-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-punct-ident-3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-punct-ident-4.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid-punct-ident-4.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
is-available.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-36935.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-36935.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-37788.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-37788.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
issue-38586.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38586.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-39889.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-42708.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-50061.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-50493.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-50493.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-53481.rs tests/ui/proc-macro/*: Migrate FIXMEs to check-pass 2023-07-27 10:37:31 +02:00
issue-59191-replace-root-with-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-59191-replace-root-with-fn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66286.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-66286.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-73933-procedural-masquerade.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-73933-procedural-masquerade.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-75734-pp-paren.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-75734-pp-paren.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
issue-75801.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-75801.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-75930-derive-cfg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-75930-derive-cfg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-75930-derive-cfg.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-76182-leading-vert-pat.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-76182-leading-vert-pat.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-76270-panic-in-libproc-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-76270-panic-in-libproc-macro.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-78675-captured-inner-attrs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-78675-captured-inner-attrs.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
issue-79148.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79148.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79242-slow-retokenize-check.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79825.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-80760-empty-stmt.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-80760-empty-stmt.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
issue-81007-item-attrs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-81007-item-attrs.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-81543-item-parse-err.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-81543-item-parse-err.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-81555.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83469-global-alloc-invalid-stmt.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83469-global-alloc-invalid-stmt.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83510.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83510.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86781-bad-inner-doc.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86781-bad-inner-doc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86781-bad-inner-doc.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-91800.rs Fix typos in compiler 2023-04-10 22:02:52 +02:00
issue-91800.stderr Fix typos in compiler 2023-04-10 22:02:52 +02:00
issue-104884-trait-impl-sugg-err.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104884-trait-impl-sugg-err.stderr Note predicate span on ImplDerivedObligation 2023-01-11 19:46:45 +00:00
issue-107113-wrap.rs Fix #107113, avoid suggest for macro attributes 2023-08-02 14:54:37 +08:00
issue-107113-wrap.stderr Fix #107113, avoid suggest for macro attributes 2023-08-02 14:54:37 +08:00
item-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keep-expr-tokens.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keep-expr-tokens.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keep-expr-tokens.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetimes-rpass.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetimes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetimes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lints_in_proc_macros.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lints_in_proc_macros.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
load-panic-backtrace.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
load-panic-backtrace.stderr Change default panic handler message format. 2023-07-29 11:42:50 +02:00
load-panic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
load-panic.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
load-two.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-brackets.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-brackets.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-crate-multi-decorator.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-namespace-reserved-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-namespace-reserved-2.stderr Rewrite added diagnostics as translatable 2023-04-07 08:33:56 +01:00
macro-namespace-reserved.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-namespace-reserved.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-quote-cond.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-rules-derive-cfg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-rules-derive-cfg.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
macro-rules-derive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-rules-derive.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-use-attr.rs tests/ui/proc-macro/*: Migrate FIXMEs to check-pass 2023-07-27 10:37:31 +02:00
macro-use-bang.rs tests/ui/proc-macro/*: Migrate FIXMEs to check-pass 2023-07-27 10:37:31 +02:00
macros-in-extern-derive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macros-in-extern-derive.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macros-in-extern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macros-in-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
meta-delim.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
meta-macro-hygiene.rs fix(test): improve sensitivity of hygene tests 2023-08-08 18:09:56 -07:00
meta-macro-hygiene.stdout fix(test): improve sensitivity of hygene tests 2023-08-08 18:09:56 -07:00
meta-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
meta-macro.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
mixed-site-span.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mixed-site-span.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
modify-ast.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
module_with_attrs.rs Add some reasons why tests are ignored. 2023-04-15 16:11:42 -07:00
module.rs Add some reasons why tests are ignored. 2023-04-15 16:11:42 -07:00
multispan.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multispan.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
negative-token.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-derive-cfg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-derive-cfg.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-item-spans.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-item-spans.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-macro-rules.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-macro-rules.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
nested-nonterminal-tokens.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-nonterminal-tokens.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
no-macro-use-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-macro-use-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-mangle-in-proc-macro-issue-111888.rs fix proc-macro test added here to solely be exercised as a build product for the host. 2023-08-08 11:40:35 -04:00
no-missing-docs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nodelim-groups.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nodelim-groups.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
non-root.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-root.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nonterminal-expansion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nonterminal-expansion.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
nonterminal-recollect-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nonterminal-recollect-attr.stdout Hide compiler_builtins in the prelude 2023-07-14 16:53:36 +01:00
nonterminal-token-hygiene.rs fix(test): improve sensitivity of hygene tests 2023-08-08 18:09:56 -07:00
nonterminal-token-hygiene.stdout fix(test): improve sensitivity of hygene tests 2023-08-08 18:09:56 -07:00
not-joint.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
out-of-line-mod.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
panic-abort.rs Warn when using panic-strategy abort for proc-macro crates 2023-01-13 10:13:49 +01:00
panic-abort.stderr Warn when using panic-strategy abort for proc-macro crates 2023-01-13 10:13:49 +01:00
parent-source-spans.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
parent-source-spans.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pretty-print-hack-hide.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pretty-print-hack-hide.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pretty-print-hack-show.local.stderr Update rental hack to work with remapped paths. 2023-01-13 20:36:03 +00:00
pretty-print-hack-show.local.stdout Update rental hack to work with remapped paths. 2023-01-13 20:36:03 +00:00
pretty-print-hack-show.remapped.stderr ui tests: Remap test base directory by default. 2023-01-16 18:33:25 +00:00
pretty-print-hack-show.remapped.stdout ui tests: Remap test base directory by default. 2023-01-16 18:33:25 +00:00
pretty-print-hack-show.rs ui tests: Remap test base directory by default. 2023-01-16 18:33:25 +00:00
pretty-print-tts.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pretty-print-tts.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
proc-macro-abi.rs Simplify proc macro signature validity check 2023-03-14 19:05:21 +00:00
proc-macro-abi.stderr Simplify proc macro signature validity check 2023-03-14 19:05:21 +00:00
proc-macro-attributes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
proc-macro-attributes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
proc-macro-deprecated-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
proc-macro-gates2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
proc-macro-gates2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
proc-macro-gates.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
proc-macro-gates.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pub-at-crate-root.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pub-at-crate-root.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
quote-debug.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
quote-debug.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
raw-ident.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
raw-ident.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reserved-macro-names.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reserved-macro-names.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolve-error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolved-located-at.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resolved-located-at.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
shadow.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
shadow.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
signature-proc-macro-attribute.rs Simplify proc macro signature validity check 2023-03-14 19:05:21 +00:00
signature-proc-macro-attribute.stderr Tighter spans 2023-03-14 19:12:42 +00:00
signature-proc-macro-derive.rs Simplify proc macro signature validity check 2023-03-14 19:05:21 +00:00
signature-proc-macro-derive.stderr Tighter spans 2023-03-14 19:12:42 +00:00
signature-proc-macro.rs Simplify proc macro signature validity check 2023-03-14 19:05:21 +00:00
signature-proc-macro.stderr Tighter spans 2023-03-14 19:12:42 +00:00
signature.rs Simplify proc macro signature validity check 2023-03-14 19:05:21 +00:00
signature.stderr Simplify proc macro signature validity check 2023-03-14 19:05:21 +00:00
smoke.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
span-absolute-posititions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
span-absolute-posititions.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
span-api-tests.rs remove invalid ignore-pretty 2023-04-03 09:24:11 +02:00
span-from-proc-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
span-from-proc-macro.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
span-preservation.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
span-preservation.stderr Don't mention already set fields 2023-06-05 21:00:08 +00:00
struct-field-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
subspan.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
subspan.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
test-same-crate.rs Suggest using integration tests for proc-macros 2023-04-17 13:01:03 +01:00
test-same-crate.stderr Suggest using integration tests for proc-macros 2023-04-17 13:01:03 +01:00
test.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
three-equals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
three-equals.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trailing-plus.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trailing-plus.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-fn-args-2015.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
two-crate-types-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
two-crate-types-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
two-crate-types-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
two-crate-types-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsafe-foreign-mod.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsafe-mod.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
visibility-path.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
visibility-path.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
weird-braces.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
weird-braces.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
weird-hygiene.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
weird-hygiene.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00