rust/src/test/ui
Dylan DPC 7b9a7ef218
Rollup merge of #98499 - JulianKnodt:erase_lifetime, r=lcnr
Erase regions in New Abstract Consts

When an abstract const is constructed, we previously included lifetimes in the set of substitutes, so it was not able to unify two abstract consts if their lifetimes did not match but the values did, despite the values not depending on the lifetimes. This caused code that should have compiled to not compile.

Fixes #98452

r? ```@lcnr```
2022-06-29 17:59:33 +05:30
..
abi Remove duplicated test files 2022-03-27 09:19:34 -03:00
alloc-error Cleanup feature gates. 2022-03-03 18:50:28 +01:00
allocator Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
annotate-snippet Bless tests 2021-10-15 02:36:58 -05:00
anon-params Practice diagnostic message convention 2021-10-03 16:16:28 +09:00
argument-suggestions Use typed indices in argument mismatch algorithm 2022-06-27 21:53:03 -07:00
array-slice-vec make const_err show up in future breakage reports 2022-06-25 10:30:47 -04:00
asm diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
associated-consts make const_err show up in future breakage reports 2022-06-25 10:30:47 -04:00
associated-item Auto merge of #98396 - cjgillot:iwfchir, r=petrochenkov 2022-06-28 09:48:18 +00:00
associated-type-bounds Note concrete type being coerced into object 2022-06-28 21:56:18 +00:00
associated-types Note concrete type being coerced into object 2022-06-28 21:56:18 +00:00
async-await Note concrete type being coerced into object 2022-06-28 21:56:18 +00:00
attributes Support the #[expect] attribute on fn parameters (RFC-2383) 2022-06-04 00:50:45 +02:00
auto-traits rewrite ensure_drop_params_and_item_params_correspond 2022-05-20 11:49:29 +02:00
autoref-autoderef Filter OnceNote in diagnostic infra. 2022-03-20 20:36:26 +01:00
auxiliary Remove duplicated and unused test files 2022-03-28 10:16:32 -03:00
bench
binding make unaligned_reference warning visible in future compat report 2022-04-14 22:15:56 -04:00
binop Remove redundant logic to suggest as_ref 2022-06-28 22:34:13 +00:00
blind fix one more case of trailing space 2022-06-16 14:40:29 +03:00
block-result diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
borrowck Do not use a suggestion to change a binding's name to a type 2022-06-28 22:34:13 +00:00
box regression test for spurrious "help: store this in the heap" 2022-04-12 12:15:40 -07:00
btreemap
builtin-superkinds Don't lose an obligation cause 2022-05-10 08:50:32 +00:00
c-variadic Make missing argument placeholder more obvious that it's a placeholder 2022-06-19 15:10:42 -07:00
cast Move some tests to more reasonable directories 2022-06-21 09:33:14 -03:00
cfg RFC3239: Add tests for compact cfg(target(..)) 2022-05-24 13:51:36 +02:00
chalkify compiletest: add issue number param to known-bug 2022-06-26 23:15:47 +02:00
check-cfg Add Apple WatchOS compile targets 2022-06-13 16:08:53 +01:00
closure-expected-type Fully stabilize NLL 2022-06-03 17:16:41 -04:00
closure_context
closures Rollup merge of #98259 - jyn514:improve-obligation-errors, r=estebank 2022-06-23 14:39:06 -07:00
cmse-nonsecure short-circuit the easy cases in is_copy_modulo_regions 2022-03-10 01:19:02 -08:00
codegen Move some tests to more reasonable directories 2022-06-21 09:33:14 -03:00
codemap_tests Auto merge of #97512 - scottmcm:add-coldcc, r=nagisa,lcnr 2022-06-07 08:12:45 +00:00
coercion Note concrete type being coerced into object 2022-06-28 21:56:18 +00:00
coherence Perform coherence checking per impl. 2022-06-22 21:18:46 +02:00
command Revert "Do not call getpid wrapper after fork in tests" 2021-11-05 14:49:26 -07:00
compare-method Tweak assoc type obligation spans 2021-12-11 02:32:15 +00:00
conditional-compilation Conservatively report "not sure" in cfg_accessible 2022-06-03 11:31:11 +02:00
confuse-field-and-method point to type param definition when not finding variant, method and assoc type 2022-06-22 13:40:20 +09:00
const-generics Rollup merge of #98499 - JulianKnodt:erase_lifetime, r=lcnr 2022-06-29 17:59:33 +05:30
const-ptr implement valtrees as the type-system representation for constant values 2022-06-14 16:07:11 +02:00
const_prop separate const prop lint from optimizations 2022-03-23 16:50:41 +00:00
consts Rollup merge of #98560 - TaKO8Ki:add-regression-test-for-85907, r=Mark-Simulacrum 2022-06-28 18:34:27 +02:00
crate-loading Improve suggestion for extern crate self error message 2021-12-01 21:59:54 +00:00
cross Stabilize destructuring_assignment 2021-12-14 22:38:51 -05:00
cross-crate Remove duplicated and unused test files 2022-03-28 10:16:32 -03:00
custom_test_frameworks Note concrete type being coerced into object 2022-06-28 21:56:18 +00:00
cycle-trait Improve errors for recursive type aliases 2021-08-21 18:30:25 -07:00
debuginfo Auto merge of #95056 - Dylan-DPC:rollup-swtuw2n, r=Dylan-DPC 2022-03-18 00:35:19 +00:00
definition-reachable
dep-graph remove ItemLikeVisitor impl for InherentCollect 2022-05-06 12:10:59 -04:00
deprecation diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
derived-errors
derives Rollup merge of #98298 - TaKO8Ki:point-to-type-param-definition, r=compiler-errors 2022-06-25 15:14:10 +02:00
deriving Improve derived discriminant testing. 2022-06-27 08:14:09 +10:00
dest-prop
destructuring-assignment Resolve vars in note_type_err 2022-05-06 23:35:42 -04:00
did_you_mean Rollup merge of #98298 - TaKO8Ki:point-to-type-param-definition, r=compiler-errors 2022-06-25 15:14:10 +02:00
directory_ownership Bless tests 2021-10-15 02:36:58 -05:00
disallowed-deconstructing
discrim Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
dollar-crate Bless tests 2021-10-15 02:36:58 -05:00
drop Fix some test annotations 2022-06-12 13:15:35 +00:00
drop-bounds
dropck update error message 2022-05-20 11:50:07 +02:00
dst Rollup merge of #98415 - compiler-errors:rustc-borrowck-session-diagnostic-1, r=davidtwco 2022-06-29 17:59:31 +05:30
duplicate Modify structured suggestion output 2021-08-11 09:46:24 +00:00
dyn-drop
dyn-keyword diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
dynamically-sized-types Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
editions Mention filename in suggestion when it differs from primary span 2022-06-01 09:52:03 -07:00
empty diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
entry-point Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
enum Improve error message for E0081 2022-05-28 23:05:45 +02:00
enum-discriminant update explicit impls error msg 2022-06-01 20:36:20 +02:00
error-codes Rollup merge of #98415 - compiler-errors:rustc-borrowck-session-diagnostic-1, r=davidtwco 2022-06-29 17:59:31 +05:30
errors emitter: current substitution can be multi-line 2021-10-15 15:30:43 +00:00
explicit Remove textual span from diagnostic string 2021-10-13 10:53:44 +00:00
expr diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
extenv Bless tests 2021-10-15 02:36:58 -05:00
extern add regression test for #80074 2022-06-28 12:28:04 +09:00
extern-flag Add support for nounused --extern flag 2022-04-23 23:31:54 -07:00
feature-gates Only keep a single well-formed query. 2022-06-21 23:56:17 +02:00
fmt fix one more case of trailing space 2022-06-16 14:40:29 +03:00
fn Fully stabilize NLL 2022-06-03 17:16:41 -04:00
for add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
for-loop-while Rebase fallout. 2022-06-02 19:24:32 +02:00
foreign Add regression test 2022-01-05 15:22:22 -08:00
fully-qualified-type On type mismatch caused by assignment, point at assignee 2021-11-25 18:04:33 +00:00
function-pointer Update the minimum external LLVM to 12 2021-10-22 10:50:07 -07:00
functional-struct-update
functions-closures Add new diagnostic 2022-04-26 17:04:44 -04:00
generator Greatly improve error reporting for futures and generators in note_obligation_cause_code 2022-06-19 15:31:22 -05:00
generic-associated-types Note concrete type being coerced into object 2022-06-28 21:56:18 +00:00
generics fix ice for associated constant generics 2022-06-28 18:29:07 +09:00
half-open-range-patterns Be more hygenic with spans 2022-06-19 16:47:21 -07:00
hashmap fix one more case of trailing space 2022-06-16 14:40:29 +03:00
hello_world
higher-rank-trait-bounds Migrate some rustc_borrowck diagnostics to SessionDiagnostic 2022-06-28 22:41:56 +00:00
hr-subtype Fully stabilize NLL 2022-06-03 17:16:41 -04:00
hrtb compiletest: add issue number param to known-bug 2022-06-26 23:15:47 +02:00
hygiene Use the same message as type & const generics. 2022-06-03 08:26:10 +02:00
impl-header-lifetime-elision Always create parameters for functions-like types. 2022-06-21 21:13:41 +02:00
impl-trait Remove a back-compat hack on lazy TAIT 2022-06-27 20:43:44 +09:00
implied-bounds nit 2022-02-08 07:26:07 +01:00
imports Move some tests to more reasonable directories 2022-06-21 09:33:14 -03:00
include-macros
incoherent-inherent-impls update error messages and explicitly mention them in tests 2022-05-05 14:29:24 +02:00
inference Rollup merge of #98269 - compiler-errors:provide-more-segment-res, r=petrochenkov 2022-06-23 14:39:07 -07:00
infinite point to type param definition when not finding variant, method and assoc type 2022-06-22 13:40:20 +09:00
inherent-impls-overlap-check Deduplicate regions ids before merging them 2021-10-13 00:00:00 +00:00
inline-const use GlobalId in eval_to_valtree query and introduce query for valtree_to_const_val 2022-05-16 15:58:15 +02:00
interior-mutability Greatly improve error reporting for futures and generators in note_obligation_cause_code 2022-06-19 15:31:22 -05:00
internal Bless tests 2021-10-15 02:36:58 -05:00
intrinsics Rename/restructure memory ordering intrinsics. 2022-06-28 08:58:27 +02:00
invalid Add support for embedding pretty printers via the #[debugger_visualizer] attribute. Add tests for embedding pretty printers and update documentation. 2022-05-24 11:14:48 -07:00
invalid-compile-flags No branch protection metadata unless enabled 2022-02-19 17:31:40 +02:00
invalid-module-declaration
invalid-self-argument
issues Rollup merge of #98603 - compiler-errors:minor-borrowck-diagnostic-fixes, r=davidtwco 2022-06-29 10:28:24 +05:30
iterators diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
keyword suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
kindck Note concrete type being coerced into object 2022-06-28 21:56:18 +00:00
label Stop warning against unrelated labels. 2022-06-02 19:24:26 +02:00
lang-items Add test for issue rust-lang/rust#83474 2022-04-05 21:45:07 -05:00
layout make sure ScalarPair enums have ScalarPair variants; add some layout sanity checks 2022-05-09 17:46:35 +02:00
lazy-type-alias-impl-trait Add some tests around recursion and "revealing" 2022-03-28 17:01:09 +00:00
let-else --bless ui 2022-06-16 17:08:26 +04:00
lexer Refer to the TraitRef::identity in the message to be clearer 2022-04-04 21:06:35 +00:00
lifetimes Migrate some rustc_borrowck diagnostics to SessionDiagnostic 2022-06-28 22:41:56 +00:00
limits bless remaining tests 2022-06-25 10:30:47 -04:00
linkage-attr rustc: Stricter checking for #[link] attributes 2022-05-15 02:45:47 +03:00
lint Rollup merge of #97389 - m-ou-se:memory-ordering-diagnostics, r=estebank 2022-06-27 08:06:45 +02:00
liveness fix one more case of trailing space 2022-06-16 14:40:29 +03:00
loops Stop warning against unrelated labels. 2022-06-02 19:24:26 +02:00
lto Move tests 2022-06-13 17:16:01 -03:00
lub-glb update tests + add future compat test 2022-06-08 21:03:52 +02:00
macro_backtrace Bless tests 2021-10-15 02:36:58 -05:00
macros Rollup merge of #98337 - c410-f3r:assert-compiler, r=oli-obk 2022-06-28 15:30:02 +05:30
malformed Overhaul MacArgs::Eq. 2022-05-05 07:06:12 +10:00
manual rustc: Stricter checking for #[link] attributes 2022-05-15 02:45:47 +03:00
marker_trait_attr Point at source of trait bound obligations in more places 2021-11-20 18:54:31 +00:00
match Move some tests to more reasonable directories 2022-06-21 09:33:14 -03:00
meta Fully stabilize NLL 2022-06-03 17:16:41 -04:00
methods Rollup merge of #97542 - compiler-errors:arg-mismatch, r=jackh726 2022-06-29 10:28:19 +05:30
mir Migrate some rustc_borrowck diagnostics to SessionDiagnostic 2022-06-28 22:41:56 +00:00
mir-dataflow Remove MaybeMutBorrowedLocals 2021-11-03 16:43:12 +01:00
mismatched_types Rollup merge of #98277 - compiler-errors:issue-93596, r=estebank 2022-06-29 10:28:21 +05:30
missing fix one more case of trailing space 2022-06-16 14:40:29 +03:00
missing-trait-bounds Properly track ImplObligations 2022-03-24 02:08:49 +00:00
missing_non_modrs_mod
modules Clarify error messages caused by re-exporting pub(crate) visibility to outside 2021-11-20 10:47:33 +09:00
modules_and_files_visibility
moves On E0204 suggest missing type param bounds 2022-06-02 12:54:04 -07:00
mut Implementation for 65853 2022-04-16 02:26:56 -04:00
namespace diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
native-library-link-flags Stabilize the bundle native library modifier 2022-06-09 23:12:58 +04:00
never_type Note concrete type being coerced into object 2022-06-28 21:56:18 +00:00
nll Auto merge of #98109 - nikomatsakis:issue-98095, r=jackh726 2022-06-24 07:39:28 +00:00
non_modrs_mods
non_modrs_mods_and_inline_mods
not-panic Cleanup feature gates. 2022-03-03 18:50:28 +01:00
numbers-arithmetic use -Cstrip=debuginfo with ui tests to reduce disk space usage 2022-06-22 14:43:59 +03:00
numeric Implementation for 65853 2022-04-16 02:26:56 -04:00
object-lifetime Fully stabilize NLL 2022-06-03 17:16:41 -04:00
object-safety Migrate some rustc_borrowck diagnostics to SessionDiagnostic 2022-06-28 22:41:56 +00:00
obsolete-in-place feature(const_generics) -> feature(const_param_types) 2021-08-30 11:00:21 +02:00
on-unimplemented Rollup merge of #95525 - ohno418:suggest-derivable-trait-E0277, r=compiler-errors 2022-04-05 15:56:49 +02:00
operator-recovery Recover on invalid operators <> and <=> 2021-12-14 18:05:02 +01:00
or-patterns Resolve vars in note_type_err 2022-05-06 23:35:42 -04:00
overloaded Move some tests to more reasonable places 2022-05-28 18:38:34 -03:00
packed diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
packed-struct
panic-handler Remove duplicated and unused test files 2022-03-28 10:16:32 -03:00
panic-runtime
panics use -Cstrip=debuginfo with ui tests to reduce disk space usage 2022-06-22 14:43:59 +03:00
parser Rollup merge of #98298 - TaKO8Ki:point-to-type-param-definition, r=compiler-errors 2022-06-25 15:14:10 +02:00
pattern improve wording of a suggestion 2022-06-24 21:18:26 +04:00
pin-macro Write {ui,} tests for pin_macro and pin! 2022-02-14 16:56:37 +01:00
polymorphization Also report the call site of PME errors locally. 2022-04-30 09:04:15 +00:00
print-fuel
print_type_sizes print-type-sizes: skip field printing for primitives 2021-09-28 00:00:00 +00:00
privacy Rollup merge of #98283 - TaKO8Ki:point-at-private-fields-in-struct-literal, r=compiler-errors 2022-06-23 14:39:08 -07:00
proc-macro proc_macro: stop using a remote object handle for Punct 2022-06-26 22:20:33 -04:00
process Auto merge of #96837 - tmiasko:stdio-fcntl, r=joshtriplett 2022-06-10 11:50:39 +00:00
process-termination
ptr_ops rename compiler-flags to compile-flags 2022-02-21 17:53:16 -08:00
pub Cleanup feature gates. 2022-03-03 18:50:28 +01:00
qualified
query-system Add a regression test for issue-83479 2021-10-20 11:09:06 +09:00
range Implementation for 65853 2022-04-16 02:26:56 -04:00
raw-ref-op
reachable fix one more case of trailing space 2022-06-16 14:40:29 +03:00
recursion Make some lints incremental. 2022-06-19 00:00:36 +02:00
recursion_limit Bless tests 2021-10-15 02:36:58 -05:00
regions tests H.R. T: 'a bounds proving themselves 2022-06-15 17:28:16 -04:00
repeat-expr Update the diagnostic message to match the new span 2022-04-28 09:40:42 +00:00
repr Auto merge of #94096 - cjgillot:ensure-stability, r=lcnr 2022-03-04 05:49:14 +00:00
reserved Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08:00
resolve Mention what item is using an invalid Self type 2022-06-19 19:43:40 -07:00
return Eagerly replace {integer}/{float} with i32/f64 for suggestion 2022-03-27 02:20:16 +00:00
rfc-0107-bind-by-move-pattern-guards
rfc-1445-restrict-constants-in-patterns Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
rfc-1717-dllimport rustc: Stricter checking for #[link] attributes 2022-05-15 02:45:47 +03:00
rfc-1937-termination-trait bless new test result, it's a regression but seemingly a compiler bug 2022-06-17 13:54:26 -04:00
rfc-2005-default-binding-mode Resolve vars in note_type_err 2022-05-06 23:35:42 -04:00
rfc-2008-non-exhaustive Update non-exhaustive omitted_patterns ui output 2022-03-12 15:02:42 -05:00
rfc-2027-object-safe-for-dispatch
rfc-2091-track-caller Add the transmute and asm checks to typeck as deferred checks 2022-05-24 16:28:57 +00:00
rfc-2093-infer-outlives Remove related tests 2022-06-08 21:11:15 +09:00
rfc-2126-crate-paths Cleanup feature gates. 2022-03-03 18:50:28 +01:00
rfc-2126-extern-absolute-paths
rfc-2294-if-let-guard [rustc_parse] Forbid lets in certain places 2022-06-25 08:08:38 -03:00
rfc-2306
rfc-2361-dbg-macro Suggest derivable trait on E0277 2022-04-05 11:14:32 +09:00
rfc-2457 Practice diagnostic message convention 2021-10-03 16:16:28 +09:00
rfc-2497-if-let-chains [rustc_parse] Forbid lets in certain places 2022-06-25 08:08:38 -03:00
rfc-2565-param-attrs Support the #[expect] attribute on fn parameters (RFC-2383) 2022-06-04 00:50:45 +02:00
rfc-2627-raw-dylib rustc: Stricter checking for #[link] attributes 2022-05-15 02:45:47 +03:00
rfc-2632-const-trait-impl diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
rfcs Subtype FRU fields first in type_changing_struct_update 2022-06-17 03:21:52 +00:00
rmeta Remove ignore-compare-mode-nll annotations from tests 2022-06-09 00:13:57 +09:00
runtime use -Cstrip=debuginfo with ui tests to reduce disk space usage 2022-06-22 14:43:59 +03:00
rust-2018 Rollup merge of #98298 - TaKO8Ki:point-to-type-param-definition, r=compiler-errors 2022-06-25 15:14:10 +02:00
rust-2021 diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
rustdoc Support the #[expect] attribute on fn parameters (RFC-2383) 2022-06-04 00:50:45 +02:00
sanitize Ignore failing test on aarch64 2022-02-12 12:31:33 +01:00
save-analysis Remove ignore-compare-mode-nll annotations from tests 2022-06-09 00:13:57 +09:00
self point to type param definition when not finding variant, method and assoc type 2022-06-22 13:40:20 +09:00
sepcomp Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
shadowed Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
simd suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
single-use-lifetime diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
span Use typed indices in argument mismatch algorithm 2022-06-27 21:53:03 -07:00
specialization Add regression test for #79224 2022-06-26 17:19:32 +09:00
stability-attribute Allow unstable items to be re-exported unstably without requiring the feature be enabled 2022-06-04 17:05:33 -05:00
stack-protector add rustc option for using LLVM stack smash protection 2021-11-22 20:06:22 +01:00
static Bless tests. 2022-04-30 13:55:17 +02:00
statics Make some lints incremental. 2022-06-19 00:00:36 +02:00
stdlib-unit-tests Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
str diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
structs Be more specific for what lifetimes are not allowed on 2022-06-19 18:08:29 -07:00
structs-enums Move some tests to more reasonable places 2022-05-01 08:47:38 -03:00
suggestions Rollup merge of #98603 - compiler-errors:minor-borrowck-diagnostic-fixes, r=davidtwco 2022-06-29 10:28:24 +05:30
svh Enable svh tests on msvc 2021-12-01 02:05:17 +00:00
symbol-names Bless tests. 2022-05-12 20:29:11 +02:00
target-feature bless tests 2022-04-06 09:29:58 +02:00
terminal-width Implementation for 65853 2022-04-16 02:26:56 -04:00
test-attrs Auto merge of #97853 - TaKO8Ki:emit-only-one-note-per-unused-struct-field, r=estebank 2022-06-22 02:51:55 +00:00
thread-local Rollup merge of #95006 - tmiasko:thread-local-static, r=wesleywiser 2022-04-16 19:42:02 +02:00
threads-sendsync Revert "add DefId to unsafety violations and display function path in E0133" 2022-04-26 14:49:28 +00:00
tool-attributes Don't confuse the user with notes about tool modules. 2021-08-23 16:57:59 +02:00
trait-bounds compiletest: add issue number param to known-bug 2022-06-26 23:15:47 +02:00
traits Note concrete type being coerced into object 2022-06-28 21:56:18 +00:00
transmute Make message for &T -> &mut T transmute more accurate 2022-01-09 23:31:57 +00:00
treat-err-as-bug
trivial-bounds diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
try-block fix one more case of trailing space 2022-06-16 14:40:29 +03:00
try-trait Bless the UI tests 2022-04-30 18:09:57 -07:00
tuple Use typed indices in argument mismatch algorithm 2022-06-27 21:53:03 -07:00
type Use typed indices in argument mismatch algorithm 2022-06-27 21:53:03 -07:00
type-alias Don't suggest adding Self as a type parameter 2022-06-19 19:44:00 -07:00
type-alias-enum-variants Provide a segment res in more cases 2022-06-20 21:27:42 -07:00
type-alias-impl-trait compiletest: add issue number param to known-bug 2022-06-26 23:15:47 +02:00
type-inference use verbose suggestions 2022-06-02 10:19:15 +02:00
typeck Use typed indices in argument mismatch algorithm 2022-06-27 21:53:03 -07:00
typeof --bless tests 2022-04-10 16:45:09 +04:00
ufcs Implementation for 65853 2022-04-16 02:26:56 -04:00
unboxed-closures Auto merge of #97892 - klensy:fix-spaces, r=oli-obk 2022-06-17 17:30:16 +00:00
underscore-imports Make some tests check-pass 2022-05-28 18:57:02 +09:00
underscore-lifetime Fully stabilize NLL 2022-06-03 17:16:41 -04:00
uniform-paths Add #[must_use] to remaining std functions (A-N) 2021-10-30 23:44:02 -04:00
uninhabited Check if call return type is visibly uninhabited when building MIR 2022-03-24 23:56:12 +01:00
union Rollup merge of #97780 - compiler-errors:field-wfcheck-before-sized, r=jackh726 2022-06-27 08:06:46 +02:00
unique Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
unknown-unstable-lints Fix docs, fix incorrect lint source in note 2022-03-08 19:09:32 +00:00
unresolved suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
unsafe Move some tests to more reasonable directories 2022-06-21 09:33:14 -03:00
unsized Rollup merge of #98415 - compiler-errors:rustc-borrowck-session-diagnostic-1, r=davidtwco 2022-06-29 17:59:31 +05:30
unsized-locals fix(rustc_typeck): report function argument errors on matching type 2021-10-25 12:23:52 -07:00
unused-crate-deps Add --json unused-externs-silent with original behaviour 2022-04-27 10:04:25 -07:00
unwind-abis
use Mention what item is using an invalid Self type 2022-06-19 19:43:40 -07:00
variance btreemap-alloc: adjust ui test 2022-06-14 13:54:10 -04:00
variants Modify structured suggestion output 2021-08-11 09:46:24 +00:00
wasm rustc: Stricter checking for #[link] attributes 2022-05-15 02:45:47 +03:00
wf Rollup merge of #97780 - compiler-errors:field-wfcheck-before-sized, r=jackh726 2022-06-27 08:06:46 +02:00
where-clauses Fully stabilize NLL 2022-06-03 17:16:41 -04:00
xcrate Remove duplicated and unused test files 2022-03-28 10:16:32 -03:00
zero-sized
.gitattributes
alias-uninit-value.rs
align-with-extern-c-fn.rs
aligned_enum_cast.rs fix for the issue #92464 2022-02-01 13:01:19 +03:00
anonymous-higher-ranked-lifetime.rs
anonymous-higher-ranked-lifetime.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
artificial-block.rs
as-precedence.rs
assign-assign.rs
assign-imm-local-twice.rs
assign-imm-local-twice.stderr
assoc-inherent.rs
assoc-inherent.stderr
assoc-lang-items.rs
assoc-lang-items.stderr
assoc-oddities-3.rs
associated-path-shl.rs
associated-path-shl.stderr
atomic-from-mut-not-available.rs
atomic-from-mut-not-available.stderr
attempted-access-non-fatal.rs
attempted-access-non-fatal.stderr
attr-bad-crate-attr.rc
attr-shebang.rs
attr-start.rs
attr-usage-inline.rs
attr-usage-inline.stderr
attrs-resolution-errors.rs
attrs-resolution-errors.stderr
attrs-resolution.rs
augmented-assignments-feature-gate-cross.rs
augmented-assignments-rpass.rs
augmented-assignments.rs
augmented-assignments.stderr
auto-instantiate.rs
auto-ref-slice-plus-ref.rs
auto-ref-slice-plus-ref.stderr
autoderef-full-lval.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
autoderef-full-lval.stderr
backtrace-apple-no-dsymutil.rs use -Cstrip=debuginfo with ui tests to reduce disk space usage 2022-06-22 14:43:59 +03:00
backtrace.rs Rollup merge of #98491 - antoyo:fix/ui-test-backtrace-panic-abort, r=Dylan-DPC 2022-06-26 13:15:00 +09:00
bare-fn-implements-fn-mut.rs
bare-static-string.rs
big-literals.rs
bind-by-move.rs
bitwise.rs
blind-item-local-shadow.rs
bogus-tag.rs
bogus-tag.stderr point to type param definition when not finding variant, method and assoc type 2022-06-22 13:40:20 +09:00
borrow-by-val-method-receiver.rs
bounds-lifetime.rs
bounds-lifetime.stderr
break-diverging-value.rs
break-diverging-value.stderr
builtin-clone-unwind.rs Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
by-move-pattern-binding.rs
by-move-pattern-binding.stderr
can-copy-pod.rs
cancel-clean-via-immediate-rvalue-ref.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
cannot-mutate-captured-non-mut-var.rs
cannot-mutate-captured-non-mut-var.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
capture1.rs
capture1.stderr
catch-unwind-bang.rs Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
cenum_impl_drop_cast.rs
cenum_impl_drop_cast.stderr make cenum_impl_drop_cast deny-by-default and show up as future breakage diagnostic 2022-06-02 09:06:29 -04:00
cfguard-run.rs
char.rs
check-static-immutable-mut-slices.rs
check-static-immutable-mut-slices.stderr
check-static-recursion-foreign.rs
check-static-values-constraints.rs bless you 2022-02-12 19:24:41 +11:00
check-static-values-constraints.stderr bless you 2022-02-12 19:24:41 +11:00
class-cast-to-trait.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
class-cast-to-trait.stderr
class-method-missing.rs
class-method-missing.stderr
cleanup-rvalue-for-scope.rs
cleanup-rvalue-scopes-cf.rs
cleanup-rvalue-scopes-cf.stderr
cleanup-rvalue-scopes.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
cleanup-rvalue-temp-during-incomplete-alloc.rs Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
cleanup-shortcircuit.rs
close-over-big-then-small-data.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
command-line-diagnostics.rs
command-line-diagnostics.stderr
commandline-argfile-badutf8.args
commandline-argfile-badutf8.rs
commandline-argfile-badutf8.stderr
commandline-argfile-missing.rs
commandline-argfile-missing.stderr
commandline-argfile.args
commandline-argfile.rs
compile_error_macro.rs
compile_error_macro.stderr Bless tests 2021-10-15 02:36:58 -05:00
complex.rs
conflicting-repr-hints.rs
conflicting-repr-hints.stderr
conservative_impl_trait.rs Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
conservative_impl_trait.stderr Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
constructor-lifetime-args.rs
constructor-lifetime-args.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
copy-a-resource.rs
copy-a-resource.stderr point to type param definition when not finding variant, method and assoc type 2022-06-22 13:40:20 +09:00
crate-leading-sep.rs
crate-method-reexport-grrrrrrr.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
crate-name-attr-used.rs
crate-name-mismatch.rs
crate-name-mismatch.stderr
custom-attribute-multisegment.rs
custom-attribute-multisegment.stderr
custom-test-frameworks-simple.rs
custom_attribute.rs
custom_attribute.stderr
deduplicate-diagnostics.deduplicate.stderr
deduplicate-diagnostics.duplicate.stderr
deduplicate-diagnostics.rs
deep.rs
default-method-parsing.rs
default-method-simple.rs
defaults-well-formedness.rs
deprecation-in-force-unstable.rs
deref-non-pointer.rs
deref-non-pointer.stderr
deref-rc.rs
deref.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
derive-uninhabited-enum-38885.rs collapse dead code warnings into a single diagnostic 2022-06-19 18:32:56 +09:00
derive-uninhabited-enum-38885.stderr collapse dead code warnings into a single diagnostic 2022-06-19 18:32:56 +09:00
destructure-trait-ref.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
destructure-trait-ref.stderr bless clippy tests 2022-06-16 15:51:12 +03:00
disambiguate-identical-names.rs
disambiguate-identical-names.stderr Implementation for 65853 2022-04-16 02:26:56 -04:00
diverging-fallback-method-chain.rs
diverging-fallback-option.rs
diverging-fn-tail-35849.rs
diverging-fn-tail-35849.stderr
does-nothing.rs
does-nothing.stderr
dont-suggest-private-trait-method.rs
dont-suggest-private-trait-method.stderr point to type param definition when not finding variant, method and assoc type 2022-06-22 13:40:20 +09:00
double-ref.rs
double-type-import.rs
double-type-import.stderr
dupe-first-attr.rc
duplicate_entry_error.rs
duplicate_entry_error.stderr
early-ret-binop-add.rs
elide-errors-on-mismatched-tuple.rs
elide-errors-on-mismatched-tuple.stderr
elided-test.rs
elided-test.stderr Do not point at whole file missing fn main 2022-03-05 02:42:55 +00:00
else-if.rs
empty-allocation-non-null.rs
empty-allocation-rvalue-non-null.rs
empty-type-parameter-list.rs
empty_global_asm.rs Fix unused import in test 2021-12-12 21:11:15 +00:00
env-args-reverse-iterator.rs
env-funky-keys.rs
env-null-vars.rs
env-vars.rs
error-festival.rs
error-festival.stderr Improve u32 to char diagnostic 2022-05-19 20:03:40 +05:30
error-should-say-copy-not-pod.rs
error-should-say-copy-not-pod.stderr Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
exclusive-drop-and-copy.rs
exclusive-drop-and-copy.stderr macros: support translatable labels 2022-04-05 07:01:03 +01:00
exec-env.rs
explain.rs
explain.stdout
explicit-i-suffix.rs
explore-issue-38412.rs Cleanup feature gates. 2022-03-03 18:50:28 +01:00
explore-issue-38412.stderr Cleanup feature gates. 2022-03-03 18:50:28 +01:00
expr-block-fn.rs
expr-block-generic-unique1.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
expr-block-generic-unique2.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
expr-block-generic.rs
expr-block.rs
expr-copy.rs
expr-if-generic.rs
expr-if-panic-all.rs
expr-if-unique.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
expr-scope.rs
ext-expand-inner-exprs.rs
ext-nonexistent.rs
ext-nonexistent.stderr
extoption_env-no-args.rs
extoption_env-no-args.stderr Bless tests 2021-10-15 02:36:58 -05:00
extoption_env-not-defined.rs
extoption_env-not-string-literal.rs
extoption_env-not-string-literal.stderr
extoption_env-too-many-args.rs
extoption_env-too-many-args.stderr Bless tests 2021-10-15 02:36:58 -05:00
fact.rs
fail-simple.rs
fail-simple.stderr
ffi_const.rs
ffi_const.stderr
ffi_const2.rs
ffi_const2.stderr
ffi_pure.rs
ffi_pure.stderr
ffi_returns_twice.rs
ffi_returns_twice.stderr
filter-block-view-items.rs
fn-in-pat.rs
fn-in-pat.stderr
foreign-fn-return-lifetime.fixed
foreign-fn-return-lifetime.rs
foreign-fn-return-lifetime.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
foreign-unsafe-fn-called.mir.stderr Revert "add DefId to unsafety violations and display function path in E0133" 2022-04-26 14:49:28 +00:00
foreign-unsafe-fn-called.rs Revert "add DefId to unsafety violations and display function path in E0133" 2022-04-26 14:49:28 +00:00
foreign-unsafe-fn-called.thir.stderr only show a simple description in E0133 span label 2022-04-24 18:33:07 +02:00
format-no-std.rs
fun-indirect-call.rs
future-incompatible-lint-group.rs
future-incompatible-lint-group.stderr Practice diagnostic message convention 2021-10-03 16:16:28 +09:00
global-scope.rs
hello.rs Create 2024 edition 2022-04-02 02:45:49 -04:00
higher-lifetime-bounds.rs
higher-lifetime-bounds.stderr
illegal-ufcs-drop.fixed
illegal-ufcs-drop.rs
illegal-ufcs-drop.stderr
impl-duplicate-methods.rs
impl-duplicate-methods.stderr Bless ui tests. 2022-06-24 17:57:27 +02:00
impl-inherent-non-conflict.rs
impl-not-adjacent-to-type.rs
impl-privacy-xc-1.rs
impl-unused-rps-in-assoc-type.rs
impl-unused-rps-in-assoc-type.stderr
impl-unused-tps-inherent.rs
impl-unused-tps-inherent.stderr
impl-unused-tps.rs
impl-unused-tps.stderr
implicit-method-bind.rs
implicit-method-bind.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
impossible_range.fixed
impossible_range.rs
impossible_range.stderr
inc-range-pat.rs
index-bot.rs
index-bot.stderr
index-help.rs
index-help.stderr Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
index_message.rs
index_message.stderr
indexing-requires-a-uint.rs
indexing-requires-a-uint.stderr Resolve vars before emitting coerce suggestions too 2022-05-06 23:35:44 -04:00
infer-fn-tail-expr.rs
inherit-env.rs
inline-disallow-on-variant.rs
inline-disallow-on-variant.stderr
inlined-main.rs
inner-attrs-on-impl.rs
inner-module.rs
inner-static-type-parameter.rs
inner-static-type-parameter.stderr
inner-static.rs
integral-indexing.rs
integral-indexing.stderr Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
integral-variable-unification-error.rs On type mismatch caused by assignment, point at assignee 2021-11-25 18:04:33 +00:00
integral-variable-unification-error.stderr On type mismatch caused by assignment, point at assignee 2021-11-25 18:04:33 +00:00
intrinsics-always-extern.rs
intrinsics-always-extern.stderr
invalid_crate_type_syntax.rs
invalid_crate_type_syntax.stderr Move malformed attribute code to a function and fix inner attribute suggestion. 2021-09-25 08:11:10 -07:00
invalid_dispatch_from_dyn_impls.rs
invalid_dispatch_from_dyn_impls.stderr
issue-76387-llvm-miscompile.rs
issue-94866.rs Only omit trailing comma if block doesn't come from macro expansion 2022-06-19 16:46:37 -07:00
issue-94866.stderr Only omit trailing comma if block doesn't come from macro expansion 2022-06-19 16:46:37 -07:00
issues-71798.rs Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
issues-71798.stderr Point at return expression for RPIT-related error 2022-06-21 18:23:37 -07:00
item-name-overload.rs
json-and-color.rs
json-and-color.stderr
json-and-error-format.rs
json-and-error-format.stderr
json-bom-plus-crlf-multifile-aux.rs
json-bom-plus-crlf-multifile.rs
json-bom-plus-crlf-multifile.stderr
json-bom-plus-crlf.rs
json-bom-plus-crlf.stderr
json-invalid.rs
json-invalid.stderr
json-multiple.polonius.stderr
json-multiple.rs Remove ignore-compare-mode-nll annotations from tests 2022-06-09 00:13:57 +09:00
json-multiple.stderr
json-options.polonius.stderr
json-options.rs Remove ignore-compare-mode-nll annotations from tests 2022-06-09 00:13:57 +09:00
json-options.stderr
json-short.rs
json-short.stderr
kinds-in-metadata.rs
kinds-of-primitive-impl.rs rework error messages for incorrect inherent impls 2022-03-30 11:23:58 +02:00
kinds-of-primitive-impl.stderr rework error messages for incorrect inherent impls 2022-03-30 11:23:58 +02:00
lambda-infer-unresolved.rs
last-use-in-block.rs
last-use-in-cap-clause.rs
last-use-is-capture.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
lazy-and-or.rs
lexical-scopes.rs
lexical-scopes.stderr point to type param definition when not finding variant, method and assoc type 2022-06-22 13:40:20 +09:00
lexical-scoping.rs
link-section.rs Make tidy check for magic numbers that spell things 2021-12-31 21:13:07 -08:00
lint-unknown-lints-at-crate-level.rs
list.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
log-err-phi.rs
log-knows-the-names-of-variants.rs
log-poly.rs
logging-only-prints-once.rs
loud_ui.rs
macro-quote-test.rs
main-wrong-location.rs Do not point at whole file missing fn main 2022-03-05 02:42:55 +00:00
main-wrong-location.stderr optimize find_item to fetch Item only when needed 2022-05-13 11:46:05 -04:00
main-wrong-type.rs
main-wrong-type.stderr
max-min-classes.rs
maybe-bounds.rs
maybe-bounds.stderr
minus-string.rs
minus-string.stderr
mir-unpretty.rs
mir-unpretty.stderr
missing_debug_impls.rs
missing_debug_impls.stderr
mod-subitem-as-enum-variant.rs Make output more specific 2022-06-01 17:46:55 -07:00
mod-subitem-as-enum-variant.stderr Be more specific for what lifetimes are not allowed on 2022-06-19 18:08:29 -07:00
module-macro_use-arguments.rs
module-macro_use-arguments.stderr
monomorphize-abi-alignment.rs Ignore automatically derived impls of Clone and Debug in dead code analysis 2021-09-09 19:49:07 +02:00
msvc-data-only.rs
multibyte.rs
multiline-comment.rs
mut-function-arguments.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
mutexguard-sync.rs
mutexguard-sync.stderr Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
mutual-recursion-group.rs
nested-block-comment.rs
nested-cfg-attrs.rs
nested-cfg-attrs.stderr
nested-class.rs
nested-ty-params.rs
nested-ty-params.stderr
new-impl-syntax.rs
new-import-syntax.rs
new-style-constants.rs
new-unicode-escapes.rs
new-unsafe-pointers.rs
newlambdas.rs
newtype-polymorphic.rs
newtype.rs
no-capture-arc.rs
no-capture-arc.stderr fix one more case of trailing space 2022-06-16 14:40:29 +03:00
no-core-1.rs
no-core-2.rs
no-link-unknown-crate.rs
no-link-unknown-crate.stderr
no-patterns-in-args-2.rs
no-patterns-in-args-2.stderr
no-patterns-in-args-macro.rs
no-patterns-in-args-macro.stderr
no-patterns-in-args.rs
no-patterns-in-args.stderr
no-reuse-move-arc.rs
no-reuse-move-arc.stderr fix one more case of trailing space 2022-06-16 14:40:29 +03:00
no-send-res-ports.rs
no-send-res-ports.stderr Greatly improve error reporting for futures and generators in note_obligation_cause_code 2022-06-19 15:31:22 -05:00
no-warn-on-field-replace-issue-34101.rs
no_crate_type.rs
no_crate_type.stderr Move malformed attribute code to a function and fix inner attribute suggestion. 2021-09-25 08:11:10 -07:00
no_send-enum.rs
no_send-enum.stderr fix(rustc_typeck): report function argument errors on matching type 2021-10-25 12:23:52 -07:00
no_send-rc.rs
no_send-rc.stderr Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
no_share-enum.rs
no_share-enum.stderr fix(rustc_typeck): report function argument errors on matching type 2021-10-25 12:23:52 -07:00
no_share-struct.rs
no_share-struct.stderr Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
noexporttypeexe.rs
noexporttypeexe.stderr
non-constant-expr-for-arr-len.rs
non-constant-expr-for-arr-len.stderr
non-copyable-void.rs
non-copyable-void.stderr
non-fmt-panic.fixed Take in account the unreachable! macro in the non_fmt_panic lint 2022-01-31 17:09:31 +01:00
non-fmt-panic.rs Take in account the unreachable! macro in the non_fmt_panic lint 2022-01-31 17:09:31 +01:00
non-fmt-panic.stderr diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
non-ice-error-on-worker-io-fail.rs
non-ice-error-on-worker-io-fail.stderr
noncopyable-class.rs
noncopyable-class.stderr point to type param definition when not finding variant, method and assoc type 2022-06-22 13:40:20 +09:00
nonscalar-cast.fixed
nonscalar-cast.rs
nonscalar-cast.stderr
not-clone-closure.rs
not-clone-closure.stderr Greatly improve error reporting for futures and generators in note_obligation_cause_code 2022-06-19 15:31:22 -05:00
not-copy-closure.rs
not-copy-closure.stderr Suggest function borrow ignoring needs_note 2022-03-28 22:27:07 -07:00
not-enough-arguments.rs
not-enough-arguments.stderr Make missing argument placeholder more obvious that it's a placeholder 2022-06-19 15:10:42 -07:00
nul-characters.rs
nullable-pointer-iotareduction.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
nullable-pointer-size.rs
object-pointer-types.rs
object-pointer-types.stderr
objects-coerce-freeze-borrored.rs
occurs-check-2.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
occurs-check-2.stderr Deduplicate box deref and regular deref suggestions 2022-01-11 21:13:45 -08:00
occurs-check-3.rs
occurs-check-3.stderr
occurs-check.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
occurs-check.stderr Deduplicate box deref and regular deref suggestions 2022-01-11 21:13:45 -08:00
once-cant-call-twice-on-heap.rs Cleanup feature gates. 2022-03-03 18:50:28 +01:00
once-cant-call-twice-on-heap.stderr Cleanup feature gates. 2022-03-03 18:50:28 +01:00
oom_unwind.rs Restrict oom_unwind test to Linux 2022-03-05 16:16:51 +01:00
op-assign-builtins-by-ref.rs
opeq.rs
opt-in-copy.rs
opt-in-copy.stderr
optimization-fuel-0.rs
optimization-fuel-0.stderr
optimization-fuel-1.rs
optimization-fuel-1.stderr
optimization-remark.rs Update optimization remark test for LLVM 14 2022-02-16 21:15:30 +01:00
order-dependent-cast-inference.rs
order-dependent-cast-inference.stderr
orphan-check-diagnostics.rs
orphan-check-diagnostics.stderr
osx-frameworks.rs rustc: Stricter checking for #[link] attributes 2022-05-15 02:45:47 +03:00
osx-frameworks.stderr rustc: Stricter checking for #[link] attributes 2022-05-15 02:45:47 +03:00
out-pointer-aliasing.rs
output-slot-variants.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
output-type-mismatch.rs
output-type-mismatch.stderr On type mismatch caused by assignment, point at assignee 2021-11-25 18:04:33 +00:00
over-constrained-vregs.rs
panic-while-printing.rs Add needs-unwind directive to tests where necessary 2022-03-19 16:35:41 +01:00
panic_implementation-closures.rs
paren-span.rs
paren-span.stderr
parenthesized-deref-suggestion.rs
parenthesized-deref-suggestion.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
partialeq_help.rs Handle empty where-clause better 2022-06-11 16:27:01 -07:00
partialeq_help.stderr Handle empty where-clause better 2022-06-11 16:27:01 -07:00
path-lookahead.fixed
path-lookahead.rs
path-lookahead.stderr diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
path.rs
paths-containing-nul.rs
phantom-auto-trait.rs
phantom-auto-trait.stderr Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
point-to-type-err-cause-on-impl-trait-return-2.rs
point-to-type-err-cause-on-impl-trait-return-2.stderr
pptypedef.rs
pptypedef.stderr Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
primitive-binop-lhs-mut.rs
print-stdout-eprint-stderr.rs
project-cache-issue-31849.rs
ptr-coercion-rpass.rs
ptr-coercion.rs
ptr-coercion.stderr
range_inclusive.rs
raw-str.rs
reachable-unnameable-type-alias.rs
realloc-16687.rs
reassign-ref-mut.rs
reassign-ref-mut.stderr
reexport-test-harness-main.rs
reify-intrinsic.rs
reify-intrinsic.stderr Improve suggestion for calling closure on type mismatch 2022-06-21 18:12:43 -07:00
remap-path-prefix.rs Fix remap-path-prefix UI test case. 2021-08-27 12:43:07 +02:00
remap-path-prefix.stderr Fix remap-path-prefix UI test case. 2021-08-27 12:43:07 +02:00
removing-extern-crate.fixed
removing-extern-crate.rs
removing-extern-crate.stderr
repr_c_int_align.rs
resource-assign-is-not-copy.rs
resource-destruct.rs
ret-bang.rs
ret-non-nil.rs
ret-non-nil.stderr
return-disjoint-regions.rs
return-disjoint-regions.stderr
return-nil.rs
rfc1623-2.rs
rfc1623-2.stderr Use more accurate spans when proposing adding lifetime to item 2021-08-18 10:25:15 +00:00
rfc1623.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
rfc1623.stderr ValuePairs::PolyTraitRefs should be called 'trait' 2022-06-11 16:25:35 -07:00
rustc-error.rs
rustc-error.stderr
rustc-rust-log.rs Remove comment saying that we don't build debug rustc in CI, since we do 2021-10-18 16:28:09 -07:00
seq-args.rs
seq-args.stderr
shadow-bool.rs
shadowed-use-visibility.rs
short-error-format.rs
short-error-format.stderr
simple_global_asm.rs Stabilize asm! and global_asm! 2021-12-12 11:20:03 +00:00
sized-borrowed-pointer.rs
sized-cycle-note.rs
sized-cycle-note.stderr Specialize suggestion for Option<T> 2022-03-31 08:04:53 -07:00
sized-owned-pointer.rs
slightly-nice-generic-literal-messages.rs
slightly-nice-generic-literal-messages.stderr Point (again) to more expressions with their type, even if not fully resolved 2022-03-27 02:20:17 +00:00
slowparse-bstring.rs
slowparse-string.rs
sse2.rs
stable-addr-of.rs
std-backtrace.rs use -Cstrip=debuginfo with ui tests to reduce disk space usage 2022-06-22 14:43:59 +03:00
std-uncopyable-atomics.rs
std-uncopyable-atomics.stderr
stdio-is-blocking.rs
stmt_expr_attrs_no_feature.rs
stmt_expr_attrs_no_feature.stderr
string-box-error.rs
struct-ctor-mangling.rs
super-at-top-level.rs
super-at-top-level.stderr
super-fast-paren-parsing.rs
super.rs
suppressed-error.rs
suppressed-error.stderr
svh-add-nothing.rs
swap-1.rs
swap-overlapping.rs
switched-expectations.rs
switched-expectations.stderr
syntax-extension-minor.rs
tag-that-dare-not-speak-its-name.rs
tag-that-dare-not-speak-its-name.stderr
tag-type-args.rs
tag-type-args.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
tag-variant-cast-non-nullary.fixed
tag-variant-cast-non-nullary.rs
tag-variant-cast-non-nullary.stderr
tag-variant-disr-dup.rs Improve error message for E0081 2022-05-28 23:05:45 +02:00
tag-variant-disr-dup.stderr Improve error message for E0081 2022-05-28 23:05:45 +02:00
tail-call-arg-leak.rs
tail-cps.rs
tail-typeck.rs
tail-typeck.stderr Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
terr-in-field.rs
terr-in-field.stderr Implementation for 65853 2022-04-16 02:26:56 -04:00
terr-sorts.rs
terr-sorts.stderr Implementation for 65853 2022-04-16 02:26:56 -04:00
thir-tree.rs
thir-tree.stdout Override rustc version in ui and mir-opt tests to get stable hashes 2022-01-21 00:28:07 +01:00
thread-local-mutation.rs
thread-local-mutation.stderr
thread-local-static.rs
thread-local-static.stderr
tool_lints-fail.rs
tool_lints-fail.stderr
tool_lints-rpass.rs
tool_lints.rs
tool_lints.stderr
tool_lints_2018_preview.rs
trailing-comma.rs
trait-impl-bound-suggestions.fixed
trait-impl-bound-suggestions.rs
trait-impl-bound-suggestions.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
trait-method-number-parameters.rs
trait-method-number-parameters.stderr
transmute-equal-assoc-types.rs
transmute-equal-assoc-types.stderr
transmute-non-immediate-to-immediate.rs
trivial_casts-rpass.rs
try-from-int-error-partial-eq.rs
try-operator-hygiene.rs
try-operator.rs
tuple-index.rs
tydesc-name.rs
type-id-higher-rank-2.rs
type-namespace.rs
type-param-constraints.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
type-param.rs
type-ptr.rs
type-use-i1-versus-i8.rs
type_length_limit.polonius.stderr bless a few trivial tests under polonius 2021-08-03 20:29:30 +02:00
type_length_limit.rs
type_length_limit.stderr
typeid-intrinsic.rs
typestate-multi-decl.rs
ufcs-polymorphic-paths.rs
ui-testing-optout.rs
ui-testing-optout.stderr
unconstrained-none.rs
unconstrained-none.stderr add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
unconstrained-ref.rs
unconstrained-ref.stderr add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
underscore-ident-matcher.rs
underscore-ident-matcher.stderr
underscore-lifetimes.rs
underscore-method-after-integer.rs
unevaluated_fixed_size_array_len.rs
unevaluated_fixed_size_array_len.stderr Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
uninit-empty-types.rs
unique-object-noncopyable.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
unique-object-noncopyable.stderr Revert "Rollup merge of #86011 - tlyu:correct-sized-bound-spans, r=estebank" 2021-10-19 02:33:38 +09:00
unique-pinned-nocopy.rs
unique-pinned-nocopy.stderr Suggest deriving traits if possible 2021-09-06 13:18:05 +02:00
unit.rs
unknown-language-item.rs
unknown-language-item.stderr
unknown-lint-tool-name.rs
unknown-lint-tool-name.stderr
unknown-llvm-arg.rs
unknown-llvm-arg.stderr
unknown-tool-name.rs
unknown-tool-name.stderr
unnamed_argument_mode.rs
unop-move-semantics.rs
unop-move-semantics.stderr Remove redundant logic to suggest as_ref 2022-06-28 22:34:13 +00:00
unop-neg-bool.rs
unop-neg-bool.stderr
unpretty-expr-fn-arg.rs
unpretty-expr-fn-arg.stdout Fix whitespace in pretty printed PatKind::Range 2021-12-29 13:02:14 -08:00
unreachable-code-1.rs
unreachable-code.rs
unsafe-fn-called-from-unsafe-blk.rs
unsafe-fn-called-from-unsafe-fn.rs
unsafe-pointer-assignability.rs
unsigned-literal-negation.rs
unsigned-literal-negation.stderr
unspecified-self-in-trait-ref.rs Lint bare traits in AstConv. 2021-12-04 23:13:58 +01:00
unspecified-self-in-trait-ref.stderr Use multipart suggestions. 2021-12-04 23:13:58 +01:00
unterminated-comment.rs
unterminated-comment.stderr
unterminated-nested-comment.rs improve diagnostics for unterminated nested block comment 2022-04-14 03:22:02 +09:00
unterminated-nested-comment.stderr refactor: change to use peekable 2022-04-14 21:18:27 +09:00
unused-move-capture.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
unused-move.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
unwind-no-uwtable.rs
unwind-unique.rs Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
use-import-export.rs
use-keyword-2.rs
use-module-level-int-consts.rs
use-nested-groups.rs
use.rs
used.rs
used.stderr
user-defined-macro-rules.rs
using-target-feature-unstable.rs
usize-generic-argument-parent.rs Provide a segment res in more cases 2022-06-20 21:27:42 -07:00
usize-generic-argument-parent.stderr Provide a segment res in more cases 2022-06-20 21:27:42 -07:00
utf8-bom.rs
utf8_idents.rs
variance-intersection-of-ref-and-opt-ref.rs
variance-iterators-in-libcore.rs
wait-forked-but-failed-child.rs
walk-struct-literal-with.rs
walk-struct-literal-with.stderr Fix a format_args span to be expansion 2021-10-29 17:13:15 -05:00
wasm-custom-section-relocations.rs
wasm-custom-section-relocations.stderr
weak-new-uninhabited-issue-48493.rs Add #[must_use] to alloc constructors 2021-10-10 02:19:30 -04:00
weird-exit-code.rs
weird-exprs.rs Add back thinking emoji 2022-05-21 00:38:37 +02:00
while-type-error.rs
while-type-error.stderr
windows-subsystem-invalid.rs
windows-subsystem-invalid.stderr
write-fmt-errors.rs
writing-to-immutable-vec.rs
writing-to-immutable-vec.stderr
wrong-hashset-issue-42918.rs
wrong-mul-method-signature.rs
wrong-mul-method-signature.stderr
wrong-ret-type.rs
wrong-ret-type.stderr Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
xc-private-method.rs
xc-private-method.stderr Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
xc-private-method2.rs
xc-private-method2.stderr Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
z-crate-attr.rs