rust/src/test/ui
Matthias Krüger da1d738601
Rollup merge of #94467 - ibraheemdev:master, r=pnkfelix
Add `special_module_name` lint

Declaring `lib` as a module is one of the most common beginner mistakes when trying to setup a binary and library target in the same crate. `special_module_name` lints against it, as well as `mod main;`
```
warning: found module declaration for main.rs
  --> $DIR/special_module_name.rs:4:1
   |
LL | mod main;
   | ^^^^^^^^^
   |
   = note: a binary crate cannot be used as library

warning: found module declaration for lib.rs
  --> $DIR/special_module_name.rs:1:1
   |
LL | mod lib;
   | ^^^^^^^^
   |
   = note: `#[warn(special_module_name)]` on by default
   = note: lib.rs is the root of this crate's library target
   = help: to refer to it from other targets, use the library's name as the path
   ```

Note that the help message is not the best in that it doesn't provide an example of an import path (`the_actual_crate_name::`), and doesn't check whether the current file is part of a library/binary target to provide more specific error messages. I'm not sure where this lint would have to be run to access that information.
2022-09-01 21:37:07 +02:00
..
abi Fix rust-call ICE in mir-inliner 2022-07-02 21:40:33 +00:00
alloc-error Cleanup feature gates. 2022-03-03 18:50:28 +01:00
allocator Fix a bunch of typo 2022-08-31 18:24:55 +08: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 Rollup merge of #100458 - compiler-errors:fn-argument-span, r=estebank 2022-08-15 20:11:35 +02:00
array-slice-vec use span_suggestion instead of span_suggestion_verbose 2022-08-16 03:42:58 +09:00
asm Display raw pointer as *{mut,const} T instead of *-ptr in errors 2022-08-29 20:40:25 +02:00
associated-consts bless ui tests 2022-08-22 14:06:55 +02:00
associated-item Add E0790 as more specific variant of E0283 2022-07-19 10:16:10 +02:00
associated-type-bounds Fix a bunch of typo 2022-08-31 18:24:55 +08:00
associated-types Suggest calling trait objects and parameters too, when possible 2022-08-27 23:08:44 +00:00
async-await Account for relative paths 2022-08-21 02:34:52 +00:00
attributes Remove register_attr-related tests 2022-08-28 21:23:39 +09:00
auto-traits Rework point-at-arg 2022-08-21 02:34:52 +00: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 Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
binding Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
binop More descriptive argument placeholders 2022-08-28 01:24:41 +00:00
blind Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
block-result Rollup merge of #99064 - lyming2007:issue-97687-fix, r=estebank 2022-08-26 09:51:40 +09:00
borrowck Fix a bunch of typo 2022-08-31 18:24:55 +08:00
box Account for relative paths 2022-08-21 02:34:52 +00:00
btreemap Provide structured suggestion for hashmap[idx] = val 2022-08-25 08:44:36 -07:00
builtin-superkinds Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
c-variadic Adjust span of fn arguments 2022-08-12 15:21:39 +00:00
cast Only label place where type is needed if span is meaningful 2022-07-01 17:38:34 +00:00
cfg Rollup merge of #99784 - est31:deny_cfg_attr_crate_type_name, r=Mark-Simulacrum 2022-08-27 13:14:16 +09:00
chalkify Adjust messages, address some nits 2022-08-21 02:35:11 +00:00
check-cfg Fix ci checks 2022-08-31 18:25:00 +08:00
closure-expected-type Revert closure mismatch spans 2022-08-21 02:34:52 +00:00
closure_context Note closure kind mismatch cause 2022-08-21 02:35:11 +00:00
closures Fix a bunch of typo 2022-08-31 18:24:55 +08:00
cmse-nonsecure short-circuit the easy cases in is_copy_modulo_regions 2022-03-10 01:19:02 -08:00
codegen Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
codemap_tests Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
coercion Point out a single arg if we have a single arg incompatibility 2022-08-12 15:18:39 +00:00
coherence Permit negative impls coherence to take advantage of implied bounds 2022-08-23 08:55:43 -03:00
command Fix a bunch of typo 2022-08-31 18:24:55 +08:00
compare-method Tweak assoc type obligation spans 2021-12-11 02:32:15 +00:00
conditional-compilation use smaller span for suggestions 2022-08-27 15:22:08 +09:00
confuse-field-and-method Auto merge of #98816 - estebank:implicit-sized, r=oli-obk 2022-07-08 23:17:34 +00:00
const-generics Auto merge of #100707 - dzvon:fix-typo, r=davidtwco 2022-09-01 05:39:58 +00:00
const-ptr adjust tests 2022-08-27 18:37:49 -04:00
const_prop separate const prop lint from optimizations 2022-03-23 16:50:41 +00:00
consts Fix a bunch of typo 2022-08-31 18:24:55 +08:00
crate-loading Improve suggestion for extern crate self error message 2021-12-01 21:59:54 +00:00
cross Mention first and last macro in backtrace 2022-07-19 03:07:54 +00: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 Generalize trait object generic param check to aliases. 2022-08-10 18:32:08 +02:00
debuginfo session: stabilize split debuginfo on linux 2022-08-18 15:19:40 +01:00
definition-reachable
dep-graph Reword comments and rename HIR visiting methods. 2022-07-07 16:01:43 +02:00
deprecation use smaller span for suggestions 2022-08-27 15:22:08 +09:00
derived-errors
derives Adjust messages, address some nits 2022-08-21 02:35:11 +00:00
deriving Auto merge of #98655 - nnethercote:dont-derive-PartialEq-ne, r=dtolnay 2022-08-18 10:11:11 +00:00
dest-prop
destructuring-assignment Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
diagnostic-width session: output-width -> diagnostic-width 2022-07-06 17:43:33 +01:00
did_you_mean Prefer non-Self non-method types over Self, first 2022-08-21 02:35:11 +00:00
directory_ownership Bless tests 2021-10-15 02:36:58 -05:00
disallowed-deconstructing
discrim
dollar-crate Bless tests 2021-10-15 02:36:58 -05:00
drop Do not allow Drop impl on foreign fundamental types 2022-08-16 00:59:06 +00:00
drop-bounds
dropck Do not allow Drop impl on foreign fundamental types 2022-08-16 00:59:06 +00:00
dst Display raw pointer as *{mut,const} T instead of *-ptr in errors 2022-08-29 20:40:25 +02:00
duplicate Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
dyn-drop
dyn-keyword diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
dynamically-sized-types Remove even more box syntax uses from src/test 2022-08-07 04:22:20 +02:00
editions Mention filename in suggestion when it differs from primary span 2022-06-01 09:52:03 -07:00
empty Be more precise when suggesting removal of parens on unit adt ctor 2022-07-16 22:15:41 +00:00
entry-point Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
enum Further improve error message for E0081 2022-08-07 17:43:52 +02:00
enum-discriminant Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
error-codes use smaller span for suggestions 2022-08-27 15:22:08 +09:00
errors add suggestion when there is a impl of external trait on pointer 2022-07-27 21:53:37 +00:00
explicit Remove textual span from diagnostic string 2021-10-13 10:53:44 +00:00
expr Revert let_chains stabilization 2022-08-29 19:34:11 +02:00
extenv Bless tests 2021-10-15 02:36:58 -05:00
extern Rework point-at-arg 2022-08-21 02:34:52 +00:00
extern-flag Use FxIndexMap instead of otherwise unused StableMap for WEAK_ITEMS_REFS. 2022-07-20 12:40:51 +02:00
feature-gates Rollup merge of #101185 - compiler-errors:tweak-wf-locs, r=davidtwco 2022-08-31 07:58:02 +02:00
fmt Add test for {:.0$} diagnostic issue. 2022-08-25 14:49:42 +02:00
fn More descriptive argument placeholders 2022-08-28 01:24:41 +00:00
for Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
for-loop-while Stabilize #![feature(label_break_value)] 2022-08-23 21:14:12 -05:00
foreign Erase regions before comparing signatures of foreign fns. 2022-07-19 19:36:45 +02: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 Only suggest call on nonexistent fields and methods if they make sense 2022-08-27 22:36:04 +00:00
generator Targeted fixes addressing erroneous suggestions 2022-08-21 02:35:11 +00:00
generic-associated-types Fix a bunch of typo 2022-08-31 18:24:55 +08:00
generics Improve local generic parameter suggestions. 2022-08-23 00:08:42 +02:00
half-open-range-patterns Be more hygenic with spans 2022-06-19 16:47:21 -07:00
hashmap Provide structured suggestion for hashmap[idx] = val 2022-08-25 08:44:36 -07:00
hello_world
higher-rank-trait-bounds Rework point-at-arg 2022-08-21 02:34:52 +00:00
hr-subtype Fully stabilize NLL 2022-06-03 17:16:41 -04:00
hygiene Use the same message as type & const generics. 2022-06-03 08:26:10 +02:00
impl-header-lifetime-elision Check that we do not ICE when anonymous lifetimes appear in AnonConst. 2022-07-26 19:00:31 +02:00
impl-trait Rollup merge of #101185 - compiler-errors:tweak-wf-locs, r=davidtwco 2022-08-31 07:58:02 +02:00
implied-bounds no unnormalized types for implied bounds 2022-08-25 11:12:04 +02:00
imports add #[test] to functions in test modules 2022-07-08 10:16:28 +09:00
include-macros
incoherent-inherent-impls update error messages and explicitly mention them in tests 2022-05-05 14:29:24 +02:00
inference Rework ambiguity errors 2022-08-21 02:35:11 +00:00
infinite Track implicit Sized obligations in type params 2022-07-07 12:15:12 -07:00
inherent-impls-overlap-check Deduplicate regions ids before merging them 2021-10-13 00:00:00 +00:00
inline-const feat: omit suffixes in const generics (e.g. 1_i32) 2022-07-19 02:35:48 +03:00
interior-mutability Targeted fixes addressing erroneous suggestions 2022-08-21 02:35:11 +00:00
internal Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
intrinsics Point to argument if it's self type of unsatisfied projection predicate 2022-08-14 20:22:10 +00:00
invalid passes: port more of check_attr module 2022-07-25 15:11:22 +01:00
invalid-compile-flags Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
invalid-module-declaration
invalid-self-argument
issues Auto merge of #100707 - dzvon:fix-typo, r=davidtwco 2022-09-01 05:39:58 +00:00
iterators Fix a bunch of typo 2022-08-31 18:24:55 +08:00
json Move JSON tests into a directory. 2022-08-09 15:34:06 +10:00
keyword Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
kindck Adjust messages, address some nits 2022-08-21 02:35:11 +00:00
label Stabilize #![feature(label_break_value)] 2022-08-23 21:14:12 -05:00
lang-items Add test for issue rust-lang/rust#83474 2022-04-05 21:45:07 -05:00
layout Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
lazy-type-alias-impl-trait Rework point-at-arg 2022-08-21 02:34:52 +00:00
let-else Rollup merge of #99954 - dingxiangfei2009:break-out-let-else-higher-up, r=oli-obk 2022-08-25 08:50:55 +09:00
lexer Refer to the TraitRef::identity in the message to be clearer 2022-04-04 21:06:35 +00:00
lifetimes Use start_point instead of next_point to point to elided lifetime ampersand. 2022-08-07 14:35:11 +02:00
limits Remove even more box syntax uses from src/test 2022-08-07 04:22:20 +02:00
linkage-attr Implementation of import_name_type 2022-08-26 09:15:35 -07:00
lint Fix a bunch of typo 2022-08-31 18:24:55 +08:00
liveness Use par_body_owners for liveness 2022-08-23 20:53:02 +09:00
loops Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
lowering Avoid lowering a MacArgs::Eq twice. 2022-08-11 21:06:40 +10:00
lto Move tests 2022-06-13 17:16:01 -03:00
lub-glb remove unnecessary stderr files 2022-08-16 03:08:25 +09:00
macro_backtrace Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
macros Stabilize #![feature(label_break_value)] 2022-08-23 21:14:12 -05:00
malformed Implementation of import_name_type 2022-08-26 09:15:35 -07:00
manual Lib kind -l link-arg: 2022-07-26 13:55:27 +03:00
marker_trait_attr passes: migrate half of check_attr 2022-07-15 16:13:49 +01:00
match Remove even more box syntax uses from src/test 2022-08-07 04:22:20 +02:00
meta Fully stabilize NLL 2022-06-03 17:16:41 -04:00
methods use smaller span for suggestions 2022-08-27 15:22:08 +09:00
mir Revert let_chains stabilization 2022-08-29 19:34:11 +02:00
mir-dataflow Remove MaybeMutBorrowedLocals 2021-11-03 16:43:12 +01:00
mismatched_types Rollup merge of #100473 - compiler-errors:normalize-the-fn-def-sig-plz, r=lcnr 2022-08-30 16:56:08 +05:30
missing fix one more case of trailing space 2022-06-16 14:40:29 +03:00
missing-trait-bounds Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
missing_non_modrs_mod
modules move dummy test module to auxiliary directory 2022-06-04 16:12:45 -04:00
modules_and_files_visibility
moves Improve cannot move out of error message 2022-07-31 21:06:43 +03:00
mut Implementation for 65853 2022-04-16 02:26:56 -04:00
namespace use named_span in case of tuple variant 2022-07-06 19:09:50 +09:00
native-library-link-flags Lib kind -l link-arg: 2022-07-26 13:55:27 +03:00
never_type Fix a bunch of typo 2022-08-31 18:24:55 +08:00
nll Fix a bunch of typo 2022-08-31 18:24:55 +08:00
non_modrs_mods
non_modrs_mods_and_inline_mods
not-panic Rework point-at-arg 2022-08-21 02:34:52 +00: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 Tweak WellFormedLocs a bit 2022-08-30 06:19:48 +00:00
obsolete-in-place
on-unimplemented Deduplicate errors that come from places like normalization, sized 2022-08-21 02:35:11 +00:00
operator-recovery Recover on invalid operators <> and <=> 2021-12-14 18:05:02 +01:00
or-patterns Rollup merge of #98200 - ouz-a:issue-98177, r=oli-obk 2022-08-22 20:34:08 +05:30
overloaded Move some tests to more reasonable places 2022-05-28 18:38:34 -03:00
packed Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
packed-struct
panic-handler Use FxIndexMap instead of otherwise unused StableMap for WEAK_ITEMS_REFS. 2022-07-20 12:40:51 +02:00
panic-runtime Fix test for non-prefer-dynamic target 2022-06-28 17:18:01 +01:00
panics location-detail: disable all location details when passed none 2022-07-28 09:45:59 -07:00
parser Rollup merge of #100188 - chenyukang:fix-issue-100165, r=estebank 2022-08-25 08:50:56 +09:00
pattern Fix a bunch of typo 2022-08-31 18:24:55 +08:00
pin-macro Write {ui,} tests for pin_macro and pin! 2022-02-14 16:56:37 +01:00
polymorphization Shorten span for closures. 2022-07-07 09:27:42 +02:00
print-fuel
print_type_sizes
privacy use par_for_each_in in par_body_owners and collect_crate_mono_items 2022-07-19 17:00:51 +08:00
proc-macro Fix a bunch of typo 2022-08-31 18:24:55 +08:00
process Fix process-spawn-nonexistent on WSL 2022-07-27 14:15:44 +02:00
process-termination
ptr_ops Update the minimum external LLVM to 13 2022-08-14 13:46:51 -07:00
pub Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
qualified use rustc_hir_pretty::qpath_to_string to avoid span_to_snippet when rendering path 2022-07-17 04:58:38 +00:00
query-system Add a regression test for issue-83479 2021-10-20 11:09:06 +09:00
range Point at struct field if possible 2022-08-21 02:35:11 +00:00
raw-ref-op
reachable fix one more case of trailing space 2022-06-16 14:40:29 +03:00
recursion Update issue-83150.stderr 2022-08-19 17:43:20 +03:00
recursion_limit Bless tests 2021-10-15 02:36:58 -05:00
regions Fix a bunch of typo 2022-08-31 18:24:55 +08:00
repeat-expr use gathered body_owners in par_body_owners 2022-07-13 12:22:25 -04:00
repr Make item spans more consistent 2022-07-15 03:17:20 +00:00
reserved Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08:00
resolve Rollup merge of #101161 - ldm0:ldm_fix_diagnostic, r=cjgillot 2022-08-31 21:30:12 +02: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 Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
rfc-1717-dllimport rustc: Stricter checking for #[link] attributes 2022-05-15 02:45:47 +03:00
rfc-1937-termination-trait Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
rfc-2005-default-binding-mode Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
rfc-2008-non-exhaustive Update error message to clarify that it's not the enum itself that's non_exhaustive 2022-08-10 10:02:03 -07:00
rfc-2027-object-safe-for-dispatch
rfc-2091-track-caller passes: migrate half of check_attr 2022-07-15 16:13:49 +01:00
rfc-2093-infer-outlives provide generic_param_scope for region errors 2022-07-15 16:53:20 +02: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 Revert let_chains stabilization 2022-08-29 19:34:11 +02:00
rfc-2306
rfc-2361-dbg-macro Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
rfc-2457 Practice diagnostic message convention 2021-10-03 16:16:28 +09:00
rfc-2497-if-let-chains Revert let_chains stabilization 2022-08-29 19:34:11 +02:00
rfc-2565-param-attrs Use par_body_owners for liveness 2022-08-23 20:53:02 +09:00
rfc-2627-raw-dylib Implementation of import_name_type 2022-08-26 09:15:35 -07:00
rfc-2632-const-trait-impl Rollup merge of #100336 - fee1-dead-contrib:fix-wf-const-trait, r=oli-obk 2022-08-22 20:34:13 +05:30
rfcs Warn about dead tuple struct fields 2022-08-03 12:17:23 +02: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 Track implicit Sized obligations in type params 2022-07-07 12:15:12 -07:00
rust-2021 diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
rustdoc Add items to DocAliasBadLocation check error match arm 2022-08-02 23:11:22 -04:00
sanitize Fix tests due to stricter invalid_value 2022-08-29 21:28:35 +01:00
save-analysis Remove ignore-compare-mode-nll annotations from tests 2022-06-09 00:13:57 +09:00
self Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
sepcomp Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
shadowed
simd Auto merge of #99491 - workingjubilee:sync-psimd, r=workingjubilee 2022-07-22 09:48:00 +00:00
single-use-lifetime diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
span Remove register_attr-related tests 2022-08-28 21:23:39 +09:00
specialization Fix a bunch of typo 2022-08-31 18:24:55 +08:00
stability-attribute enum variant ctor inherits stability of variant 2022-08-12 15:15:36 +00:00
stack-protector add rustc option for using LLVM stack smash protection 2021-11-22 20:06:22 +01:00
static suggest lazy-static for non-const statics 2022-08-14 23:07:47 +01:00
statics Move item_span from check_item_type into each function 2022-07-15 03:17:21 +00:00
stats Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
stdlib-unit-tests Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
str Deduplicate errors that come from places like normalization, sized 2022-08-21 02:35:11 +00:00
structs Extend comma suggestion to cases where fields arent missing 2022-08-09 07:04:37 +00:00
structs-enums Remove even more box syntax uses from src/test 2022-08-07 04:22:20 +02:00
suggestions Auto merge of #100707 - dzvon:fix-typo, r=davidtwco 2022-09-01 05:39:58 +00:00
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 passes: migrate half of check_attr 2022-07-15 16:13:49 +01: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
trait-bounds Track implicit Sized obligations in type params 2022-07-07 12:15:12 -07:00
traits Fix a bunch of typo 2022-08-31 18:24:55 +08:00
transmutability Rework point-at-arg 2022-08-21 02:34:52 +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 Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
try-trait Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
tuple Rollup merge of #100479 - compiler-errors:argument-type-error-improvements, r=lcnr 2022-08-13 21:06:53 -07:00
type Auto merge of #100707 - dzvon:fix-typo, r=davidtwco 2022-09-01 05:39:58 +00:00
type-alias Don't suggest adding Self as a type parameter 2022-06-19 19:44:00 -07:00
type-alias-enum-variants Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
type-alias-impl-trait Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
type-inference use verbose suggestions 2022-06-02 10:19:15 +02:00
typeck More descriptive argument placeholders 2022-08-28 01:24:41 +00:00
typeof --bless tests 2022-04-10 16:45:09 +04:00
ufcs Prefer non-Self non-method types over Self, first 2022-08-21 02:35:11 +00:00
unboxed-closures Only suggest call on nonexistent fields and methods if they make sense 2022-08-27 22:36:04 +00:00
underscore-imports Make some tests check-pass 2022-05-28 18:57:02 +09:00
underscore-lifetime Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
uniform-paths Add #[must_use] to remaining std functions (A-N) 2021-10-30 23:44:02 -04:00
uninhabited Tweak wording and spans 2022-07-07 12:25:56 -07:00
union Point at struct field if possible 2022-08-21 02:35:11 +00:00
unique
unknown-unstable-lints Fix docs, fix incorrect lint source in note 2022-03-08 19:09:32 +00:00
unpretty add UI test for unpretty 2022-08-30 09:31:52 +08:00
unresolved suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
unsafe never consider unsafe blocks unused if they would be required with unsafe_op_in_unsafe_fn 2022-08-02 17:09:41 -04:00
unsized Rework point-at-arg 2022-08-21 02:34:52 +00:00
unsized-locals Rework point-at-arg 2022-08-21 02:34:52 +00:00
unused-crate-deps Add --json unused-externs-silent with original behaviour 2022-04-27 10:04:25 -07:00
unwind-abis Skip ffi-unwind lint test with -Cpanic=abort 2022-06-30 02:51:00 +01:00
use Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
variance Fix a bunch of typo 2022-08-31 18:24:55 +08:00
variants
wasm rustc: Stricter checking for #[link] attributes 2022-05-15 02:45:47 +03:00
wf Tweak WellFormedLocs a bit 2022-08-30 06:19:48 +00:00
where-clauses Rework point-at-arg 2022-08-21 02:34:52 +00:00
xcrate Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
zero-sized
.gitattributes
alias-uninit-value.rs
align-with-extern-c-fn.rs Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
aligned_enum_cast.rs add asserts 2022-07-05 13:26:52 -04:00
anonymous-higher-ranked-lifetime.rs
anonymous-higher-ranked-lifetime.stderr Revert closure mismatch spans 2022-08-21 02:34:52 +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 Extend invalid floating point literal suffix suggestion 2022-08-16 10:50:04 +08:00
attempted-access-non-fatal.stderr use proper words in help message for floating point 2022-08-16 19:12:36 +08:00
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 distinguish the method and associated function diagnostic information 2022-07-08 17:23:36 -07:00
autoderef-full-lval.rs
autoderef-full-lval.stderr
backtrace-apple-no-dsymutil.rs Stabilize backtrace 2022-08-02 16:21:20 -07: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 Track implicit Sized obligations in type params 2022-07-07 12:15:12 -07: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
cannot-mutate-captured-non-mut-var.rs
cannot-mutate-captured-non-mut-var.stderr
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 suggest lazy-static for non-const statics 2022-08-14 23:07:47 +01:00
class-cast-to-trait.rs
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 Provide structured suggestion for dropped temp value 2022-07-15 11:04:45 -07:00
cleanup-rvalue-scopes.rs
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
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 Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
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
copy-a-resource.rs
copy-a-resource.stderr Do not report too many expr field candidates 2022-08-25 18:59:48 +00:00
crate-leading-sep.rs
crate-method-reexport-grrrrrrr.rs
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
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 Uniform spans in dead code lint. 2022-06-22 20:40:42 +02:00
destructure-trait-ref.rs
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 Track implicit Sized obligations in type params 2022-07-07 12:15:12 -07: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 Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
error-should-say-copy-not-pod.rs
error-should-say-copy-not-pod.stderr
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
expr-block-generic-unique2.rs
expr-block-generic.rs
expr-block.rs
expr-copy.rs
expr-if-generic.rs
expr-if-panic-all.rs
expr-if-unique.rs
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 Report elision failures on the AST. 2022-07-25 19:19:23 +02: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 passes: migrate half of check_attr 2022-07-15 16:13:49 +01: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
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 Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01:00
index_message.rs
index_message.stderr
indexing-requires-a-uint.rs
indexing-requires-a-uint.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01: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 Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01: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
invalid_dispatch_from_dyn_impls.rs
invalid_dispatch_from_dyn_impls.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
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
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
lazy-and-or.rs
lexical-scopes.rs
lexical-scopes.stderr point at a type parameter shadowing another type 2022-08-17 04:53:06 +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 Warn about dead tuple struct fields 2022-08-03 12:17:23 +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
msvc-data-only.rs
multibyte.rs
multiline-comment.rs
mut-function-arguments.rs
mutexguard-sync.rs
mutexguard-sync.stderr Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01: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 Improve local generic parameter suggestions. 2022-08-23 00:08:42 +02:00
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 Shorten def_span for more items. 2022-07-01 17:39:19 +02: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 Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
no-send-res-ports.rs
no-send-res-ports.stderr Rework point-at-arg 2022-08-21 02:34:52 +00:00
no-warn-on-field-replace-issue-34101.rs
no_crate_type.rs
no_crate_type.stderr
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
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
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 lint: port non-fmt-panic diagnostics 2022-06-30 08:59:21 +01:00
non-ice-error-on-worker-io-fail.rs
non-ice-error-on-worker-io-fail.stderr
noncopyable-class.rs
noncopyable-class.stderr Do not report too many expr field candidates 2022-08-25 18:59:48 +00:00
nonscalar-cast.fixed
nonscalar-cast.rs
nonscalar-cast.stderr
not-clone-closure.rs
not-clone-closure.stderr Rework point-at-arg 2022-08-21 02:34:52 +00: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 Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
nullable-pointer-size.rs
object-pointer-types.rs
object-pointer-types.stderr
objects-coerce-freeze-borrored.rs
occurs-check-2.rs
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
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 Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
optimization-fuel-0.stderr
optimization-fuel-1.rs Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
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
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
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 Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01: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
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 Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
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 Resolve vars before emitting coerce error 2022-08-04 03:05:57 +00:00
remap-path-prefix.rs
remap-path-prefix.stderr
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 Report elision failures on the AST. 2022-07-25 19:19:23 +02:00
rfc1623-2.stderr Report elision failures on the AST. 2022-07-25 19:19:23 +02: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 Stabilize backtrace 2022-08-02 16:21:20 -07: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 Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
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
tag-variant-cast-non-nullary.fixed
tag-variant-cast-non-nullary.rs
tag-variant-cast-non-nullary.stderr
tail-call-arg-leak.rs
tail-cps.rs
tail-typeck.rs
tail-typeck.stderr
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 Store blocks in Thir. 2022-08-24 15:06:44 +10: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 Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
trait-impl-bound-suggestions.fixed
trait-impl-bound-suggestions.rs
trait-impl-bound-suggestions.stderr
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
type-param.rs
type-ptr.rs
type-use-i1-versus-i8.rs
type_length_limit.polonius.stderr
type_length_limit.rs Specialize a few tests depending on opt-level. 2022-06-30 21:45:29 +02:00
type_length_limit.stderr bless the change in note/help order due to migrating to SessionDiagnostic 2022-08-25 11:06:45 -06:00
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
unique-object-noncopyable.stderr Consider privacy more carefully when suggesting accessing fields 2022-08-03 06:51:26 +00:00
unique-pinned-nocopy.rs
unique-pinned-nocopy.stderr Consider privacy more carefully when suggesting accessing fields 2022-08-03 06:51:26 +00: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
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
unused-move.rs
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 Mention first and last macro in backtrace 2022-07-19 03:07:54 +00:00
wasm-custom-section-relocations.rs
wasm-custom-section-relocations.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
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
xc-private-method.rs
xc-private-method.stderr
xc-private-method2.rs
xc-private-method2.stderr
z-crate-attr.rs