rust/tests/ui/errors
Harrison Kaiser 1e33dd1711 Fix logical error with what text is considered whitespace.
There is a logical issue around what counts as leading white-space.
There is code which does a subtraction assuming that no errors will be reported
inside the leading whitespace. However we compute the length of
that whitespace with std::char::is_whitespace and not
rustc_lexer::is_whitespace. The former will include a no-break space while
later will excluded it. We can only safely make the assumption that no errors
will be reported  in whitespace if it is all "Rust Standard" whitespace.
Indeed an error does occur in unicode whitespace if it contains a no-break
space.
2024-12-16 23:34:46 -05:00
..
auxiliary [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-bound-error-spans Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
traits reword trait bound suggestion message to include the bounds 2024-12-07 21:26:20 +00:00
dynless-turbofish-e0191-issue-91997.rs E0191 suggestion correction, inserts turbofish without dyn (#91997) 2024-07-09 17:21:31 -06:00
dynless-turbofish-e0191-issue-91997.stderr Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
emitter-overflow-bad-whitespace.rs Fix logical error with what text is considered whitespace. 2024-12-16 23:34:46 -05:00
emitter-overflow-bad-whitespace.stderr Fix logical error with what text is considered whitespace. 2024-12-16 23:34:46 -05:00
issue-89280-emitter-overflow-splice-lines.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-89280-emitter-overflow-splice-lines.stderr Tweak multispan rendering 2024-12-12 23:36:27 +00:00
issue-99572-impl-trait-on-pointer.rs Add more information link to orphan impls 2024-08-11 10:50:07 +00:00
issue-99572-impl-trait-on-pointer.stderr Make new information notes instead of labels 2024-09-26 17:17:11 +00:00
issue-104621-extern-bad-file.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-104621-extern-bad-file.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-104621-extern-not-file.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-104621-extern-not-file.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pic-linker.rs rewrite and rename issue-37893 to rmake 2024-05-29 11:38:47 -04:00
remap-path-prefix-macro.normal.run.stdout [RFC 3127 - Trim Paths]: Add test for -Zremap-path-scope=macro 2023-10-17 10:11:31 +02:00
remap-path-prefix-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
remap-path-prefix-macro.with-macro-scope.run.stdout [RFC 3127 - Trim Paths]: Add test for -Zremap-path-scope=macro 2023-10-17 10:11:31 +02:00
remap-path-prefix-macro.without-macro-scope.run.stdout [RFC 3127 - Trim Paths]: Add test for -Zremap-path-scope=macro 2023-10-17 10:11:31 +02:00
remap-path-prefix-reverse.local-self.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
remap-path-prefix-reverse.remapped-self.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
remap-path-prefix-reverse.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
remap-path-prefix-sysroot.rs remap-path-prefix-sysroot: remap {{src-base}} as well 2024-09-28 21:50:23 +02:00
remap-path-prefix-sysroot.with-remap.stderr remap-path-prefix-sysroot: remap {{src-base}} as well 2024-09-28 21:50:23 +02:00
remap-path-prefix-sysroot.without-remap.stderr Implement RFC3137 trim-paths sysroot changes 2024-09-27 13:27:54 +02:00
remap-path-prefix.normal.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
remap-path-prefix.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
remap-path-prefix.with-diagnostic-scope.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
remap-path-prefix.without-diagnostic-scope.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
wrong-target-spec.rs rewrite and rename issue-107094 to rmake 2024-07-22 10:12:00 -04:00
wrong-target-spec.stderr rewrite and rename issue-33329 to ui test 2024-07-22 10:11:59 -04:00