rust/tests/ui/traits/bound
Alex Crichton 75fa9f6dec compiletest: Add a //@ needs-threads directive
This commit is extracted from #122036 and adds a new directive to the
`compiletest` test runner, `//@ needs-threads`. This is intended to
capture the need that a target must implement threading to execute a
specific test, typically one that uses `std::thread`. This is primarily
done for WebAssembly targets which currently do not have threads by
default. This enables transitioning a lot of `//@ ignore-wasm*`-style
ignores into a more self-documenting `//@ needs-threads` directive.
Additionally the `wasm32-wasi-preview1-threads` target, for example,
does actually have threads, but isn't tested in CI at this time. This
change enables running these tests for that target, but not other wasm
targets.
2024-03-06 12:35:07 -08:00
..
auxiliary
assoc-fn-bound-root-obligation.rs
assoc-fn-bound-root-obligation.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
basic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
generic_trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-comparison-duplicates.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
in-arc.rs compiletest: Add a //@ needs-threads directive 2024-03-06 12:35:07 -08:00
multiple.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
not-on-bare-trait-2021.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
not-on-bare-trait-2021.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
not-on-bare-trait.rs Account for multiple trait bounds in bare trait object suggestion 2024-01-03 18:59:42 +00:00
not-on-bare-trait.stderr Be less confident when dyn suggestion is not checked for object safety 2024-02-09 20:47:50 -08:00
not-on-struct.rs
not-on-struct.stderr
on-structs-and-enums-in-fns.rs
on-structs-and-enums-in-fns.stderr
on-structs-and-enums-in-impls.rs
on-structs-and-enums-in-impls.stderr
on-structs-and-enums-locals.rs
on-structs-and-enums-locals.stderr
on-structs-and-enums-rpass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
on-structs-and-enums-static.rs
on-structs-and-enums-static.stderr
on-structs-and-enums-xc1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
on-structs-and-enums-xc1.stderr
on-structs-and-enums-xc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
on-structs-and-enums-xc.stderr
on-structs-and-enums.rs
on-structs-and-enums.stderr
recursion.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
same-crate-name.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
same-crate-name.stderr
sugar.rs
sugar.stderr