rust/src/test/ui/extern
bors 229d0a9412 Auto merge of #91769 - estebank:type-trait-bound-span-2, r=oli-obk
Tweak assoc type obligation spans

* Point at RHS of associated type in obligation span
* Point at `impl` assoc type on projection error
* Reduce verbosity of recursive obligations
* Point at source of binding lifetime obligation
* Tweak "required bound" note
* Tweak "expected... found opaque (return) type" labels
* Point at set type in impl assoc type WF errors

r? `@oli-obk`

This is a(n uncontroversial) subset of #85799.
2021-12-11 21:57:19 +00:00
..
auxiliary Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
extern-1.rs Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
extern-calling-convention-test.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
extern-compare-with-return-type.rs Target stack-probe support configurable finely 2021-01-16 12:38:02 +02:00
extern-const.fixed Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
extern-const.rs Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
extern-const.stderr reject assoc statics & extern consts during parsing 2020-02-15 22:21:00 +01:00
extern-crate-multiple-missing.rs Improve suggestion for extern crate self error message 2021-12-01 21:59:54 +00:00
extern-crate-multiple-missing.stderr Stop treating extern crate loading failures as fatal errors 2021-12-01 21:04:13 +00:00
extern-crate-rename.rs Remove licenses 2018-12-25 21:08:33 -07:00
extern-crate-rename.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
extern-crate-visibility.rs resolve: Say "import" when reporting private imports 2020-01-16 21:59:11 +03:00
extern-crate-visibility.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
extern-ffi-fn-with-body.rs parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
extern-ffi-fn-with-body.stderr parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
extern-foreign-crate.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
extern-macro.rs Remove licenses 2018-12-25 21:08:33 -07:00
extern-macro.stderr Update tests 2019-03-11 23:10:26 +03:00
extern-main-fn.rs Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
extern-main-fn.stderr Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
extern-main-issue-86110.rs Fix ICE when main is declared in an extern block 2021-06-09 23:14:02 -04:00
extern-main-issue-86110.stderr Fix ICE when main is declared in an extern block 2021-06-09 23:14:02 -04:00
extern-methods.rs Fix tests using only-i686 to use the correct only-x86 directive 2021-11-04 10:39:15 -04:00
extern-mod-abi.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
extern-mod-ordering-exe.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
extern-no-mangle.rs emit specific warning to clarify that foreign items can't have no_mangle 2021-08-29 20:22:19 -04:00
extern-no-mangle.stderr emit specific warning to clarify that foreign items can't have no_mangle 2021-08-29 20:22:19 -04:00
extern-prelude-core.rs Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
extern-prelude-no-speculative.rs rustc_metadata: Make crate loading fully speculative 2020-07-18 14:06:04 +04:00
extern-prelude-std.rs Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
extern-pub.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
extern-rust.rs Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
extern-take-value.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
extern-thiscall.rs Fix tests using only-i686 to use the correct only-x86 directive 2021-11-04 10:39:15 -04:00
extern-types-distinct-types.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
extern-types-distinct-types.stderr Fix misleading "impl Trait" error 2021-06-27 18:35:43 +02:00
extern-types-inherent-impl.rs rustc_metadata: Do not forget to encode inherent impls for foreign types 2020-09-30 22:58:35 +03:00
extern-types-manual-sync-send.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
extern-types-not-sync-send.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
extern-types-not-sync-send.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
extern-types-pointer-cast.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
extern-types-size_of_val.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
extern-types-thin-pointer.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
extern-types-trait-impl.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
extern-types-unsized.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
extern-types-unsized.stderr Tweak assoc type obligation spans 2021-12-11 02:32:15 +00:00
extern-vectorcall.rs Fix tests using only-i686 to use the correct only-x86 directive 2021-11-04 10:39:15 -04:00
extern-with-type-bounds.rs Remove licenses 2018-12-25 21:08:33 -07:00
extern-with-type-bounds.stderr Remove licenses 2018-12-25 21:08:33 -07:00
extern-wrong-value-type.rs Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
extern-wrong-value-type.stderr Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
extern_fat_drop.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
issue-10025.rs Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
issue-10763.rs Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-10764-rpass.rs Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-28324.mir.stderr Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-28324.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-28324.thir.stderr Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-36122-accessing-externed-dst.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
issue-36122-accessing-externed-dst.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-64655-allow-unwind-when-calling-panic-directly.rs Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
issue-64655-extern-rust-must-allow-unwind.rs Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
no-mangle-associated-fn.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00