rust/src/test/ui
Yuki Okushi 537920eedb
Rollup merge of #95243 - vladimir-ea:compiler_watch_os, r=nagisa
Add Apple WatchOS compile targets

Hello,

I would like to add the following target triples for Apple WatchOS as Tier 3 platforms:

armv7k-apple-watchos
arm64_32-apple-watchos
x86_64-apple-watchos-sim
There are some pre-requisites Pull Requests:
https://github.com/rust-lang/compiler-builtins/pull/456 (merged)
https://github.com/alexcrichton/cc-rs/pull/662 (pending)
https://github.com/rust-lang/libc/pull/2717 (merged)

There will be a subsequent PR with standard library changes for WatchOS.  Previous compiler and library changes were in a single PR (https://github.com/rust-lang/rust/pull/94736) which is now closed in favour of separate PRs.

Many thanks!
Vlad.

### Tier 3 Target Requirements

Adds support for Apple WatchOS compile targets.

Below are details on how this target meets the requirements for tier 3:

>   tier 3 target must have a designated developer or developers (the "target maintainers") on record to be CCed when issues arise regarding the target. (The mechanism to track and CC such developers may evolve over time.)

`@deg4uss3r` has volunteered to be the target maintainer. I am also happy to help if a second maintainer is required.

> Targets must use naming consistent with any existing targets; for instance, a target for the same CPU or OS as an existing Rust target should use the same name for that CPU or OS. Targets should normally use the same names and naming conventions as used elsewhere in the broader ecosystem beyond Rust (such as in other toolchains), unless they have a very good reason to diverge. Changing the name of a target can be highly disruptive, especially once the target reaches a higher tier, so getting the name right is important even for a tier 3 target.

Uses the same naming as the LLVM target, and the same convention as other Apple targets.

> Target names should not introduce undue confusion or ambiguity unless absolutely necessary to maintain ecosystem compatibility. For example, if the name of the target makes people extremely likely to form incorrect beliefs about what it targets, the name should be changed or augmented to disambiguate it.

I don't believe there is any ambiguity here.

> Tier 3 targets may have unusual requirements to build or use, but must not create legal issues or impose onerous legal terms for the Rust project or for Rust developers or users.

I don't see any legal issues here.

> The target must not introduce license incompatibilities.
> Anything added to the Rust repository must be under the standard Rust license (MIT OR Apache-2.0).
> The target must not cause the Rust tools or libraries built for any other host (even when supporting cross-compilation to the target) to depend on any new dependency less permissive than the Rust licensing policy. This applies whether the dependency is a Rust crate that would require adding new license exceptions (as specified by the tidy tool in the rust-lang/rust repository), or whether the dependency is a native library or binary. In other words, the introduction of the target must not cause a user installing or running a version of Rust or the Rust tools to be subject to any new license requirements.
> If the target supports building host tools (such as rustc or cargo), those host tools must not depend on proprietary (non-FOSS) libraries, other than ordinary runtime libraries supplied by the platform and commonly used by other binaries built for the target. For instance, rustc built for the target may depend on a common proprietary C runtime library or console output library, but must not depend on a proprietary code generation library or code optimization library. Rust's license permits such combinations, but the Rust project has no interest in maintaining such combinations within the scope of Rust itself, even at tier 3.
> Targets should not require proprietary (non-FOSS) components to link a functional binary or library.
> "onerous" here is an intentionally subjective term. At a minimum, "onerous" legal/licensing terms include but are not limited to: non-disclosure requirements, non-compete requirements, contributor license agreements (CLAs) or equivalent, "non-commercial"/"research-only"/etc terms, requirements conditional on the employer or employment of any particular Rust developers, revocable terms, any requirements that create liability for the Rust project or its developers or users, or any requirements that adversely affect the livelihood or prospects of the Rust project or its developers or users.

I see no issues with any of the above.

> Neither this policy nor any decisions made regarding targets shall create any binding agreement or estoppel by any party. If any member of an approving Rust team serves as one of the maintainers of a target, or has any legal or employment requirement (explicit or implicit) that might affect their decisions regarding a target, they must recuse themselves from any approval decisions regarding the target's tier status, though they may otherwise participate in discussions.
> This requirement does not prevent part or all of this policy from being cited in an explicit contract or work agreement (e.g. to implement or maintain support for a target). This requirement exists to ensure that a developer or team responsible for reviewing and approving a target does not face any legal threats or obligations that would prevent them from freely exercising their judgment in such approval, even if such judgment involves subjective matters or goes beyond the letter of these requirements.

Only relevant to those making approval decisions.

> Tier 3 targets should attempt to implement as much of the standard libraries as possible and appropriate (core for most targets, alloc for targets that can support dynamic memory allocation, std for targets with an operating system or equivalent layer of system-provided functionality), but may leave some code unimplemented (either unavailable or stubbed out as appropriate), whether because the target makes it impossible to implement or challenging to implement. The authors of pull requests are not obligated to avoid calling any portions of the standard library on the basis of a tier 3 target not implementing those portions.

core and alloc can be used. std support will be added in a subsequent PR.

> The target must provide documentation for the Rust community explaining how to build for the target, using cross-compilation if possible. If the target supports running tests (even if they do not pass), the documentation must explain how to run tests for the target, using emulation if possible or dedicated hardware if necessary.

Use --target=<target> option to cross compile, just like any target. Tests can be run using the WatchOS simulator (see https://developer.apple.com/documentation/xcode/running-your-app-in-the-simulator-or-on-a-device).

> Tier 3 targets must not impose burden on the authors of pull requests, or other developers in the community, to maintain the target. In particular, do not post comments (automated or manual) on a PR that derail or suggest a block on the PR based on a tier 3 target. Do not send automated messages or notifications (via any medium, including via `@)` to a PR author or others involved with a PR regarding a tier 3 target, unless they have opted into such messages.
> Backlinks such as those generated by the issue/PR tracker when linking to an issue or PR are not considered a violation of this policy, within reason. However, such messages (even on a separate repository) must not generate notifications to anyone involved with a PR who has not requested such notifications.

I don't foresee this being a problem.

> Patches adding or updating tier 3 targets must not break any existing tier 2 or tier 1 target, and must not knowingly break another tier 3 target without approval of either the compiler team or the maintainers of the other tier 3 target.
> In particular, this may come up when working on closely related targets, such as variations of the same architecture with different features. Avoid introducing unconditional uses of features that another variation of the target may not have; use conditional compilation or runtime detection, as appropriate, to let each target run code supported by that target.

No other targets should be affected by the pull request.
2022-06-14 07:47:23 +09:00
..
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 add regression test 2022-05-30 12:08:38 -07:00
array-slice-vec add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
asm Fix some test annotations 2022-06-12 13:15:35 +00:00
associated-consts Add tests. 2022-05-12 11:52:23 +02:00
associated-item Improve method name suggestions 2022-04-03 16:38:57 +01:00
associated-type-bounds Fully stabilize NLL 2022-06-03 17:16:41 -04:00
associated-types Fully stabilize NLL 2022-06-03 17:16:41 -04:00
async-await Add regresion test for #95307 2022-06-08 00:13:12 +09: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 Taking review into account 2022-05-17 22:59:13 +02:00
blind Point (again) to more expressions with their type, even if not fully resolved 2022-03-27 02:20:17 +00:00
block-result only suggest removing semicolon when expr implements trait 2022-04-10 16:30:14 -07:00
borrowck Fully stabilize NLL 2022-06-03 17:16:41 -04: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 Implementation for 65853 2022-04-16 02:26:56 -04:00
cast restore a test 2022-06-05 12:00:43 -04:00
cfg RFC3239: Add tests for compact cfg(target(..)) 2022-05-24 13:51:36 +02:00
chalkify libcore: Add iter::from_generator which is like iter::from_fn, but for coroutines instead of functions 2022-05-27 01:51:31 +03: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 Auto merge of #95880 - cjgillot:def-ident-span, r=petrochenkov 2022-06-11 20:08:48 +00:00
cmse-nonsecure short-circuit the easy cases in is_copy_modulo_regions 2022-03-10 01:19:02 -08:00
codegen Encode MIR for 'unreachable' non-generic fns 2022-06-03 17:39:10 -07:00
codemap_tests Auto merge of #97512 - scottmcm:add-coldcc, r=nagisa,lcnr 2022-06-07 08:12:45 +00:00
coercion Auto merge of #96302 - Serial-ATA:more-diagnostic-items, r=manishearth 2022-05-08 19:08:34 +00:00
coherence update explicit impls error msg 2022-06-01 20:36:20 +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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
const-generics Rollup merge of #98050 - JohnTitor:issue-67945, r=compiler-errors 2022-06-13 21:35:58 +02:00
const-ptr interpret: unify offset_from check with offset check 2022-06-09 20:47:06 -04:00
const_prop separate const prop lint from optimizations 2022-03-23 16:50:41 +00:00
consts interpret: unify offset_from check with offset check 2022-06-09 20:47:06 -04: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 Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07: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 Use native duplicate attribute check 2022-04-14 21:19:48 -04:00
derived-errors
derives Rollup merge of #97471 - estebank:prohibit-generics, r=cjgillot 2022-06-03 17:10:52 +02:00
deriving Stabilize derive_default_enum 2022-04-07 20:03:19 -04:00
dest-prop
destructuring-assignment Resolve vars in note_type_err 2022-05-06 23:35:42 -04:00
did_you_mean recover import instead of use in item 2022-06-07 19:14:03 -07: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 Tweak assoc type obligation spans 2021-12-11 02:32:15 +00:00
duplicate Modify structured suggestion output 2021-08-11 09:46:24 +00:00
dyn-drop feat(rustc_lint): add dyn_drop 2021-07-18 07:55:57 -07:00
dyn-keyword Bless tests. 2021-12-04 23:13:58 +01: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 rustc: Stricter checking for #[link] attributes 2022-05-15 02:45:47 +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 Fully stabilize NLL 2022-06-03 17:16:41 -04:00
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 Don't suggest adding let in certain if conditions 2022-06-07 21:02:58 -07:00
extenv Bless tests 2021-10-15 02:36:58 -05:00
extern do not consider two extern types to be similar 2022-04-25 08:51:26 +02:00
extern-flag Add support for nounused --extern flag 2022-04-23 23:31:54 -07:00
feature-gates Rollup merge of #97875 - JohnTitor:rm-infer-static-outlives-requirements, r=pnkfelix 2022-06-13 21:35:54 +02:00
fmt Implementation for 65853 2022-04-16 02:26:56 -04: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 ValuePairs::PolyTraitRefs should be called 'trait' 2022-06-11 16:25:35 -07:00
generic-associated-types Auto merge of #95565 - jackh726:remove-borrowck-mode, r=nikomatsakis 2022-06-07 05:04:14 +00:00
generics Also report the call site of PME errors locally. 2022-04-30 09:04:15 +00:00
half-open-range-patterns Debug print char 0 as '\0' rather than '\u{0}' 2022-03-27 04:49:10 -07:00
hashmap Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
hello_world
higher-rank-trait-bounds ValuePairs::PolyTraitRefs should be called 'trait' 2022-06-11 16:25:35 -07:00
hr-subtype Fully stabilize NLL 2022-06-03 17:16:41 -04:00
hrtb Rollup merge of #97937 - TaKO8Ki:fix-typo-in-hrtb-just-for-static, r=Dylan-DPC 2022-06-10 17:22:33 +09:00
hygiene Use the same message as type & const generics. 2022-06-03 08:26:10 +02:00
impl-header-lifetime-elision Fully stabilize NLL 2022-06-03 17:16:41 -04:00
impl-trait Rollup merge of #96868 - nrc:turbo-stable, r=jhpratt,nbdd0121,nagisa 2022-06-11 07:42:12 +02:00
implied-bounds nit 2022-02-08 07:26:07 +01:00
imports Auto merge of #97497 - c410-f3r:z-errors, r=petrochenkov 2022-06-03 04:46:10 +00: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 #97703 - lcnr:post-89862, r=estebank 2022-06-11 07:42:13 +02:00
infinite Filter OnceNote in diagnostic infra. 2022-03-20 20:36:26 +01: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 Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
internal Bless tests 2021-10-15 02:36:58 -05:00
intrinsics Add flag for stricter checks on uninit/zeroed 2022-05-24 14:26:52 +01: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 #98012 - compiler-errors:poly-trait-refs-are-traits, r=cjgillot 2022-06-12 12:14:30 +02:00
iterators Suggest using iter() or into_iter() for Vec 2022-06-08 11:09:08 +00:00
keyword suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
kindck Fully stabilize NLL 2022-06-03 17:16:41 -04: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 Resolve vars in note_type_err 2022-05-06 23:35:42 -04:00
lexer Refer to the TraitRef::identity in the message to be clearer 2022-04-04 21:06:35 +00:00
lifetimes ValuePairs::PolyTraitRefs should be called 'trait' 2022-06-11 16:25:35 -07:00
limits Fix a format_args span to be expansion 2021-10-29 17:13:15 -05:00
linkage-attr rustc: Stricter checking for #[link] attributes 2022-05-15 02:45:47 +03:00
lint Auto merge of #97903 - est31:unused_macro_rules_compile_error, r=petrochenkov 2022-06-11 08:46:21 +00:00
liveness only suggest removing semicolon when expr implements trait 2022-04-10 16:30:14 -07:00
loops Stop warning against unrelated labels. 2022-06-02 19:24:26 +02:00
lto Updated corresponding stderr 2022-03-06 16:14:07 +01:00
lub-glb Fully stabilize NLL 2022-06-03 17:16:41 -04:00
macro_backtrace Bless tests 2021-10-15 02:36:58 -05:00
macros Stabilize $$ in Rust 1.63.0 2022-06-07 21:50:45 -03:00
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 Fully stabilize NLL 2022-06-03 17:16:41 -04:00
meta Fully stabilize NLL 2022-06-03 17:16:41 -04:00
methods add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
mir Rollup merge of #96004 - JakobDegen:fix-validator-ice, r=petrochenkov 2022-04-16 07:12:46 +02:00
mir-dataflow Remove MaybeMutBorrowedLocals 2021-11-03 16:43:12 +01:00
mismatched_types Rollup merge of #98012 - compiler-errors:poly-trait-refs-are-traits, r=cjgillot 2022-06-12 12:14:30 +02:00
missing add new emit_inference_failure_err 2022-06-02 10:19:15 +02: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 Tweak wording 2022-05-03 02:07:47 +00:00
native-library-link-flags Stabilize the bundle native library modifier 2022-06-09 23:12:58 +04:00
never_type Delay bug when adjusting NeverToAny twice during diagnostic 2022-04-24 23:52:55 -06:00
nll Fully stabilize NLL 2022-06-03 17:16:41 -04: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 Refer to the TraitRef::identity in the message to be clearer 2022-04-04 21:06:35 +00: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 Move some tests to more reasonable places 2022-04-26 23:38:04 -03: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 make unaligned_reference warning visible in future compat report 2022-04-14 22:15:56 -04:00
packed-struct
panic-handler Remove duplicated and unused test files 2022-03-28 10:16:32 -03:00
panic-runtime
panics Rollup merge of #93566 - Aaron1011:rustc-backtrace, r=davidtwco 2022-02-03 22:20:26 +09:00
parser Rollup merge of #95211 - terrarier2111:improve-parser, r=compiler-errors 2022-06-14 07:47:22 +09:00
pattern Bless tests. 2022-06-10 20:16:35 +02: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 #97264 - TaKO8Ki:suggest-extern-crate-when-failing-to-resolve-use-crate, r=estebank 2022-06-01 17:11:05 +02:00
proc-macro Revert #96682. 2022-06-02 11:22:16 +10: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 Replace ! with * in ui test of unary expr reachability 2021-11-21 19:30:17 -08:00
recursion use precise spans for recursive const evaluation 2022-06-04 16:18:03 -04:00
recursion_limit Bless tests 2021-10-15 02:36:58 -05:00
regions Fully stabilize NLL 2022-06-03 17:16:41 -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 add new emit_inference_failure_err 2022-06-02 10:19:15 +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 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 Dedup logic and improve output for other types that impl trait 2022-04-04 21:06:35 +00: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-2011-nicer-assert-messages Basic compiler infra 2022-06-02 09:00:04 -03: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 use hir::Let in hir::Guard 2022-05-09 20:35:58 +08: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 [let_chains] Forbid let inside parentheses 2022-03-31 18:33:05 -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 Handle empty where-clause better 2022-06-11 16:27:01 -07:00
rfcs Guide inference along during type_changing_struct_update 2022-06-11 09:30:37 -07:00
rmeta Remove ignore-compare-mode-nll annotations from tests 2022-06-09 00:13:57 +09:00
runtime Use black_box intrinsic in out-of-stack test 2022-01-12 18:51:31 +01:00
rust-2018 Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
rust-2021 Do not suggest wrapping an item if it has ambiguous un-imported methods 2022-02-21 16:45:35 -08: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 Fully stabilize NLL 2022-06-03 17:16:41 -04: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 Lint single-use-lifetimes on the AST. 2022-05-20 12:26:37 +02:00
span Auto merge of #95880 - cjgillot:def-ident-span, r=petrochenkov 2022-06-11 20:08:48 +00:00
specialization Handle empty where-clause better 2022-06-11 16:27:01 -07: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 Move some tests to more reasonable places 2022-04-26 23:38:04 -03:00
stdlib-unit-tests Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
str Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
structs review comments 2022-06-02 15:29:20 -07:00
structs-enums Move some tests to more reasonable places 2022-05-01 08:47:38 -03:00
suggestions Properly replace impl Trait in fn args, turn {integer} to i32 2022-06-11 16:38:48 -07: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 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 Rollup merge of #94566 - yanganto:show-ignore-message, r=m-ou-se 2022-03-29 17:11:51 +02: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 Tweak wording 2022-05-03 02:07:47 +00:00
traits Handle empty where-clause better 2022-06-11 16:27:01 -07: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 Add tests. 2022-05-12 11:52:23 +02:00
try-block Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
try-trait Bless the UI tests 2022-04-30 18:09:57 -07:00
tuple Point at closure args too 2022-05-06 16:55:53 -04:00
type Rollup merge of #97595 - ouz-a:issue-97381, r=compiler-errors 2022-06-08 07:37:29 +02:00
type-alias Move some tests to more reasonable places 2022-05-28 18:38:34 -03:00
type-alias-enum-variants Make output more specific 2022-06-01 17:46:55 -07:00
type-alias-impl-trait Rollup merge of #98012 - compiler-errors:poly-trait-refs-are-traits, r=cjgillot 2022-06-12 12:14:30 +02:00
type-inference use verbose suggestions 2022-06-02 10:19:15 +02:00
typeck Bless tests. 2022-06-10 20:16:35 +02: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 Fully stabilize NLL 2022-06-03 17:16:41 -04: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 Tighten spans for bad fields in Copy struct 2022-06-03 19:17:12 -07: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 Revert "add DefId to unsafety violations and display function path in E0133" 2022-04-26 14:49:28 +00:00
unsized Update src/test/ui/unsized/issue-97732.rs 2022-06-06 10:19:33 -05:00
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 resolve: Create dummy bindings for all unresolved imports 2022-04-10 21:22:27 +03:00
variance Update variance-object-types.stderr 2022-06-13 18:51:28 +08: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 Fully stabilize NLL 2022-06-03 17:16:41 -04: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
backtrace.rs Add needs-unwind directive to tests where necessary 2022-03-19 16:35:41 +01: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
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
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
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
derive-uninhabited-enum-38885.stderr don't use a span_note for ignored impls 2022-06-02 11:13:31 +02: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 Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02: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
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 Add long explanation for E0757 2021-07-21 13:31:47 +01:00
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
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
issues-71798.rs Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00:00
issues-71798.stderr Revert diagnostic duplication and accidental stabilization 2022-04-28 13:25:36 +00: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 Use multispan suggestions more often 2021-07-30 09:26:31 -07:00
json-bom-plus-crlf.rs
json-bom-plus-crlf.stderr Use multispan suggestions more often 2021-07-30 09:26:31 -07:00
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
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 Make output more specific 2022-06-01 17:46:55 -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
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
no-send-res-ports.rs
no-send-res-ports.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00: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 Take in account the unreachable! macro in the non_fmt_panic lint 2022-01-31 17:09:31 +01:00
non-ice-error-on-worker-io-fail.rs
non-ice-error-on-worker-io-fail.stderr
noncopyable-class.rs
noncopyable-class.stderr
nonscalar-cast.fixed
nonscalar-cast.rs
nonscalar-cast.stderr
not-clone-closure.rs
not-clone-closure.stderr Suggest derivable trait on E0277 2022-04-05 11:14:32 +09: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 Implementation for 65853 2022-04-16 02:26:56 -04: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 Use more accurate spans for "unused delimiter" lint 2021-09-09 14:24:33 +00: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 Resolve vars in note_type_err 2022-05-06 23:35:42 -04: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
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 Add test for -Z unpretty=thir-tree 2021-07-24 17:33:43 -04:00
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 add long error explanation for E0625 2021-08-02 23:03:16 -04:00
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 Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05: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 Make output more specific 2022-06-01 17:46:55 -07:00
usize-generic-argument-parent.stderr review comments 2022-06-02 15:29:20 -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