rust/tests/ui/foreign
Esteban Küber c73b3d20c6 Unify wording of resolve error
Remove "failed to resolve" and use the same format we use in other resolution errors "cannot find `name`".

```
error[E0433]: cannot find `nonexistent` in `existent`
  --> $DIR/custom_attr_multisegment_error.rs:5:13
   |
LL | #[existent::nonexistent]
   |             ^^^^^^^^^^^ could not find `nonexistent` in `existent`
```
2026-02-17 16:51:44 +00:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-mod-src [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
foreign-src [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-rust-ffi-warning-64593.rs Add test batch 4 2025-10-11 21:59:51 -04:00
foreign-fn-linkname.rs Patch up foreign-fn-linkname.rs 2024-05-20 11:13:10 -04:00
foreign-fn-return-lifetime.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
foreign-fn-return-lifetime.stderr Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
foreign-int-types.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
foreign-mod-unused-const.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
foreign-pub-super.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
foreign-safe-fn-arg-mismatch.rs Don't ICE on Fn trait error for foreign fn 2024-08-16 14:10:06 -04:00
foreign-safe-fn-arg-mismatch.stderr Don't ICE on Fn trait error for foreign fn 2024-08-16 14:10:06 -04:00
foreign-truncated-arguments.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
foreign2.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-74120-lowering-of-ffi-block-bodies.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issue-74120-lowering-of-ffi-block-bodies.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-91370-foreign-fn-block-impl.rs compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
issue-91370-foreign-fn-block-impl.stderr compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
issue-99276-same-type-lifetimes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
nil-decl-in-foreign.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
stashed-issue-121451.rs Unify wording of resolve error 2026-02-17 16:51:44 +00:00
stashed-issue-121451.stderr Unify wording of resolve error 2026-02-17 16:51:44 +00:00