rust/src/test/ui
bors 1999a22881 Auto merge of #57760 - dlrobertson:varargs1, r=alexreg
Support defining C compatible variadic functions

## Summary

Add support for defining C compatible variadic functions in unsafe rust with
`extern "C"` according to [RFC 2137].

## Details

### Parsing
When parsing a user defined function that is `unsafe` and `extern "C"` allow
variadic signatures and inject a "spoofed" `VaList` in the new functions
signature. This allows the user to interact with the variadic arguments via a
`VaList` instead of manually using `va_start` and `va_end` (See [RFC 2137] for
details).

### Codegen

When running codegen for a variadic function, remove the "spoofed" `VaList`
from the function signature and inject `va_start` when the arg local
references are created for the function and `va_end` on return.

## TODO

 - [x] Get feedback on injecting `va_start/va_end` in MIR vs codegen
 - [x] Properly inject `va_end` - It seems like it should be possible to inject
       `va_end` on the `TerminatorKind::Return`. I just need to figure out how
       to get the `LocalRef` here.
 - [x] Properly call Rust defined C variadic functions in Rust - The spoofed
       `VaList` causes problems here.

Related to: #44930

r? @ghost

[RFC 2137]: https://github.com/rust-lang/rfcs/blob/master/text/2137-variadic.md
2019-02-28 15:00:25 +00:00
..
alloc-error
allocator
asm
associated-const
associated-item
associated-type
associated-types update test files to reflect new output 2019-02-21 11:32:17 -05:00
attrs-with-no-formal-in-generics Adjust parser generic parameter errors 2019-02-07 15:02:17 +01:00
auxiliary
await-keyword
bad Use hidden suggestions for unused imports lint 2019-02-11 11:16:22 -08:00
bind-by-move
binop Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
blind
block-result Use structured suggestion in stead of notes 2019-01-20 21:41:25 -08:00
borrowck Rollup merge of #58199 - clintfred:partial-move-err-msg, r=estebank 2019-02-23 09:25:17 +01:00
builtin-superkinds
c-variadic Rename variadic to c_variadic 2019-02-27 10:21:54 -05:00
cast Declare some unconst operations as unsafe in const fn 2019-01-21 16:01:57 +01:00
chalkify
check_match
closure_context
closure-expected-type update test files to reflect new output 2019-02-21 11:32:17 -05:00
closures
codemap_tests Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
coercion
coherence update test files to reflect new output 2019-02-21 11:32:17 -05:00
compare-method
conditional-compilation
confuse-field-and-method
const-generics Add a test for const parameter uppercase lint 2019-02-16 13:04:15 +00:00
consts Rollup merge of #58658 - pmccarter:align_msg, r=matthewjasper 2019-02-23 09:25:37 +01:00
cross
custom_test_frameworks
custom-derive
cycle-trait
dep-graph
deprecation Rollup merge of #58202 - varkor:deprecated-future-external, r=GuillaumeGomez 2019-02-13 18:12:30 +01:00
derived-errors
derives
did_you_mean Suggest to add each of | and () when unexpected , is found in pattern 2019-01-30 13:50:44 +09:00
directory_ownership
disallowed-deconstructing
discrim
dollar-crate
dropck
dst
duplicate Update tests 2019-02-07 15:02:17 +01:00
e0119 Stabilize TryFrom and TryInto 2019-02-13 18:00:18 +01:00
editions Rollup merge of #58678 - doctorn:refuse-async-fn-2015-edition, r=varkor 2019-02-27 13:32:21 +01:00
empty Use structured suggestion in stead of notes 2019-01-20 21:41:25 -08:00
enum
error-codes Rename variadic to c_variadic 2019-02-27 10:21:54 -05:00
exclusive-range
existential_types Require defining uses to use generic parameters for all parameters of a generic existential type 2019-02-14 13:02:36 +01:00
explicit
extenv
extern
feature-gate Add c_variadic language feature item 2019-02-27 10:21:40 -05:00
feature-gates Rollup merge of #58761 - Mark-Simulacrum:add-feature-gate-unwind, r=Centril 2019-02-27 13:32:37 +01:00
fmt
fn
for
fully-qualified-type
functional-struct-update Move privacy checking later in the pipeline and make some passes run in parallel 2019-01-30 21:19:02 +01:00
generator Auto merge of #57901 - lqd:issue_57362, r=nikomatsakis 2019-01-29 16:58:15 +00:00
generic Update tests 2019-02-15 22:29:24 +00:00
hello_world
hr-subtype update test files to reflect new output 2019-02-21 11:32:17 -05:00
hrtb update test files to reflect new output 2019-02-21 11:32:17 -05:00
hygiene Fix errors in test/ui 2019-02-28 04:06:16 +09:00
if Reweork incompatible match arms error 2019-02-07 05:39:54 -08:00
impl-header-lifetime-elision
impl-trait Deny async fn in 2015 edition 2019-02-24 16:33:12 +00:00
imports Use hidden suggestions for unused imports lint 2019-02-11 11:16:22 -08:00
in-band-lifetimes
include-macros
inference
infinite
interior-mutability
internal Require a list of features to allow in allow_internal_unstable 2019-02-11 15:08:16 +01:00
invalid Rename variadic to c_variadic 2019-02-27 10:21:54 -05:00
invalid-module-declaration
invalid-self-argument
issues Rollup merge of #58370 - nox:relax-bounds, r=dtolnay 2019-02-25 03:17:58 +01:00
iterators
keyword
kindck
label
layout distinguish "no data" from "heterogeneous" for ABI purposes 2019-01-25 10:03:47 -05:00
lifetimes
lint Rollup merge of #55632 - ollie27:deny_overflowing_literals, r=Centril 2019-02-25 11:42:18 +01:00
liveness Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
loops
lub-glb partially revert 904a0bde93 2019-02-21 12:50:13 -05:00
macro_backtrace
macros Rollup merge of #58075 - asettouf:master, r=varkor 2019-02-27 13:32:16 +01:00
malformed Stabilize unrestricted_attribute_tokens 2019-02-25 23:21:54 +03:00
manual
marker_trait_attr Stabilize unrestricted_attribute_tokens 2019-02-25 23:21:54 +03:00
match Add address stability test for matches 2019-02-21 19:03:34 +00:00
methods add tests to a few edge cases in method lookup 2019-01-29 01:00:25 +02:00
mir-dataflow
mismatched_types update test files to reflect new output 2019-02-21 11:32:17 -05:00
missing Use descriptive variant name 2019-02-08 14:30:13 +01:00
missing_non_modrs_mod
mod
moves ./x.py test src/test/ui --stage 1 --bless -i --compare-mode=nll 2019-02-20 09:54:10 -07:00
mut
namespace
nll Auto merge of #57609 - matthewjasper:more-restrictive-match, r=pnkfelix 2019-02-25 06:27:35 +00:00
non_modrs_mods_and_inline_mods
non-exhaustive
not-panic
numeric
object-lifetime
object-safety
obsolete-in-place
on-unimplemented tests: doc comments 2019-02-10 23:42:32 +00:00
packed-struct
panic-handler
panic-runtime
parser Rename variadic to c_variadic 2019-02-27 10:21:54 -05:00
pattern
print_type_sizes
print-fuel
privacy Auto merge of #58010 - Zoxc:parallel-passes, r=michaelwoerister 2019-02-07 09:49:08 +00:00
proc-macro Stabilize unrestricted_attribute_tokens 2019-02-25 23:21:54 +03:00
pub
qualified
range
reachable
recursion
regions update test files to reflect new output 2019-02-21 11:32:17 -05:00
repr Add more tests for #[repr(align(x))] on enums 2019-01-31 14:18:51 +01:00
reserved
resolve Only suggest imports if not imported. 2019-02-11 19:29:10 +01:00
return
rfc1445
rfc1598-generic-associated-types Update tests 2019-02-07 15:02:17 +01:00
rfc1717
rfc-0107-bind-by-move-pattern-guards
rfc-1937-termination-trait
rfc-2005-default-binding-mode Fix erroneous loop diagnostic in nll 2019-02-20 12:15:08 -03:00
rfc-2008-non-exhaustive
rfc-2093-infer-outlives
rfc-2126-crate-paths
rfc-2126-extern-absolute-paths
rfc-2166-underscore-imports Use hidden suggestions for unused imports lint 2019-02-11 11:16:22 -08:00
rfc-2306
rfc-2361-dbg-macro Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
rfc-2497-if-let-chains
run-pass/traits
rust-2018
self
shadowed
simd-intrinsic Add simd_saturating_{add,sub} intrinsics 2019-02-08 16:53:53 +01:00
single-use-lifetime
span Fix erroneous loop diagnostic in nll 2019-02-20 12:15:08 -03:00
specialization Add regression test for a specialization-related ICE (#39448) 2019-02-17 20:41:18 +02:00
stability-attribute Improve the error messages for missing stability attributes 2019-02-07 19:08:30 +01:00
static Add a compile-fail test for Drop in constants in the presence of Options 2019-01-25 09:54:25 +01:00
str Rollup merge of #57604 - alercah:str-index, r=sfackler 2019-01-22 12:20:28 +01:00
structs
suggestions suggestion-diagnostics: as_ref improve snippet 2019-02-13 17:52:22 +00:00
svh tests: doc comments 2019-02-10 23:42:32 +00:00
symbol-names
test-shadowing
tool-attributes
traits Added tests. 2019-02-12 14:33:58 +00:00
transmute
trivial-bounds
try-block re-blessing error output: ./x.py test src/test/ui --stage 1 --bless 2019-02-18 12:33:33 -07:00
tuple
type Resolve incorrect diagnostic for using a non-const value in a constant 2019-02-07 16:03:12 +01:00
typeck unit test for issue 57673. 2019-01-22 14:49:18 +01:00
ufcs
unboxed-closures update test files to reflect new output 2019-02-21 11:32:17 -05:00
underscore-lifetime
uninhabited
union Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
unreachable
unresolved Add suggestion for duplicated import. 2019-01-31 12:01:28 +01:00
unsafe Update const fn tests 2019-02-14 15:04:37 +00:00
unsized
unsized-locals ./x.py test src/test/ui --stage 1 --bless -i --compare-mode=nll 2019-02-20 09:54:10 -07:00
unused
use Use hidden suggestions for unused imports lint 2019-02-11 11:16:22 -08:00
variance
variants
vec Fix erroneous loop diagnostic in nll 2019-02-20 12:15:08 -03:00
wf
where-clauses update test files to reflect new output 2019-02-21 11:32:17 -05:00
xcrate
.gitattributes
absolute-paths-in-nested-use-groups.rs
absolute-paths-in-nested-use-groups.stderr
access-mode-in-closures.nll.stderr
access-mode-in-closures.rs
access-mode-in-closures.stderr
allocator-submodule.rs
allocator-submodule.stderr
always-inhabited-union-ref.rs
always-inhabited-union-ref.stderr
anon-params-denied-2018.rs
anon-params-denied-2018.stderr
anon-params-deprecated.fixed
anon-params-deprecated.rs
anon-params-deprecated.stderr
anonymous-higher-ranked-lifetime.rs update test files to reflect new output 2019-02-21 11:32:17 -05:00
anonymous-higher-ranked-lifetime.stderr update test files to reflect new output 2019-02-21 11:32:17 -05:00
arbitrary-self-types-not-object-safe.rs
arbitrary-self-types-not-object-safe.stderr
arg-count-mismatch.rs
arg-count-mismatch.stderr
arg-type-mismatch.rs
arg-type-mismatch.stderr
array_const_index-0.rs
array_const_index-0.stderr
array_const_index-1.rs
array_const_index-1.stderr
array-break-length.rs
array-break-length.stderr
array-not-vector.rs
array-not-vector.stderr
assign-imm-local-twice.ast.nll.stderr
assign-imm-local-twice.ast.stderr
assign-imm-local-twice.mir.stderr
assign-imm-local-twice.rs
assign-to-method.rs
assign-to-method.stderr
assignment-operator-unimplemented.rs
assignment-operator-unimplemented.stderr
assoc-inherent.rs
assoc-inherent.stderr
associated-path-shl.rs
associated-path-shl.stderr
async-fn-multiple-lifetimes.rs
async-fn-multiple-lifetimes.stderr
async-matches-expr.rs
attempted-access-non-fatal.rs
attempted-access-non-fatal.stderr
attr-bad-crate-attr.rc
attr-eq-token-tree.rs Stabilize unrestricted_attribute_tokens 2019-02-25 23:21:54 +03:00
attr-eq-token-tree.stderr Restrict value in key-value attributes to literals 2019-02-25 22:40:38 +03:00
attr-usage-inline.rs
attr-usage-inline.stderr
attr-usage-repr.rs Allow #[repr(align(x))] on enums (#57996) 2019-01-30 14:15:38 +01:00
attr-usage-repr.stderr Allow #[repr(align(x))] on enums (#57996) 2019-01-30 14:15:38 +01:00
attribute-with-no-generics-in-parameter-list.rs Add warning for a parameter list with an attribute but no parameters 2019-02-07 15:03:20 +01:00
attribute-with-no-generics-in-parameter-list.stderr Add warning for a parameter list with an attribute but no parameters 2019-02-07 15:03:20 +01:00
augmented-assignments.nll.stderr Fix nll test output 2019-02-08 01:16:56 -08:00
augmented-assignments.rs
augmented-assignments.stderr
auto-ref-slice-plus-ref.rs
auto-ref-slice-plus-ref.stderr Use structured suggestion in stead of notes 2019-01-20 21:41:25 -08:00
auto-trait-validation.rs
auto-trait-validation.stderr
autoderef-full-lval.rs
autoderef-full-lval.stderr
bastion-of-the-turbofish.rs
binary-op-on-double-ref.rs
binary-op-on-double-ref.stderr
bogus-tag.rs
bogus-tag.stderr
bounds-lifetime.rs
bounds-lifetime.stderr
break-outside-loop.rs
break-outside-loop.stderr
break-while-condition.rs
break-while-condition.stderr
by-move-pattern-binding.nll.stderr
by-move-pattern-binding.rs
by-move-pattern-binding.stderr
call-fn-never-arg-wrong-type.rs
call-fn-never-arg-wrong-type.stderr
can-begin-expr-check.rs
can-begin-expr-check.stderr
cannot-mutate-captured-non-mut-var.ast.nll.stderr
cannot-mutate-captured-non-mut-var.ast.stderr
cannot-mutate-captured-non-mut-var.mir.stderr
cannot-mutate-captured-non-mut-var.rs
capture1.rs
capture1.stderr
cast_char.rs
cast_char.stderr
casts-differing-anon.rs
casts-differing-anon.stderr
casts-issue-46365.rs
casts-issue-46365.stderr
cdylib-deps-must-be-static.rs
cdylib-deps-must-be-static.stderr
changing-crates.rs
changing-crates.stderr
check-static-immutable-mut-slices.rs
check-static-immutable-mut-slices.stderr
check-static-values-constraints.nll.stderr
check-static-values-constraints.rs
check-static-values-constraints.stderr
class-cast-to-trait.rs
class-cast-to-trait.stderr
class-method-missing.rs
class-method-missing.stderr
class-missing-self.rs
class-missing-self.stderr
cleanup-rvalue-scopes-cf.rs
cleanup-rvalue-scopes-cf.stderr
closure_promotion.rs
closure_promotion.stderr
closure-expected.rs
closure-expected.stderr
command-line-diagnostics.nll.stderr
command-line-diagnostics.rs
command-line-diagnostics.stderr
compile_error_macro.rs
compile_error_macro.stderr
concat.rs
concat.stderr
conflicting-repr-hints.rs
conflicting-repr-hints.stderr
conservative_impl_trait.rs
conservative_impl_trait.stderr
constructor-lifetime-args.rs
constructor-lifetime-args.stderr
conversion-methods.rs
conversion-methods.stderr
copy-a-resource.rs
copy-a-resource.stderr
crate-in-paths.rs
crate-in-paths.stderr
crate-name-mismatch.rs
crate-name-mismatch.stderr
custom_attribute.rs
custom_attribute.stderr
custom-attribute-multisegment.rs
custom-attribute-multisegment.stderr
custom-test-frameworks-simple.rs
cycle-projection-based-on-where-clause.rs
cycle-projection-based-on-where-clause.stderr
dead-code-closure-bang.rs
dead-code-ret.rs
dead-code-ret.stderr
dead-code-tuple-struct-field.rs
defaulted-never-note.rs
defaulted-never-note.stderr
deref-non-pointer.rs
deref-non-pointer.stderr
deref-suggestion.rs
deref-suggestion.stderr
derive-uninhabited-enum-38885.rs
derive-uninhabited-enum-38885.stderr
destructure-trait-ref.rs
destructure-trait-ref.stderr
diverging-fn-tail-35849.rs
diverging-fn-tail-35849.stderr
diverging-tuple-parts-39485.rs
diverging-tuple-parts-39485.stderr
does-nothing.rs
does-nothing.stderr
dont-suggest-private-trait-method.rs
dont-suggest-private-trait-method.stderr
dotdotdot-expr.rs
dotdotdot-expr.stderr
double-import.rs
double-import.stderr
double-type-import.rs
double-type-import.stderr Add suggestion for duplicated import. 2019-01-31 12:01:28 +01:00
duplicate_entry_error.rs
duplicate_entry_error.stderr
dyn-trait-compatibility.rs
dyn-trait-compatibility.stderr
E0501.ast.nll.stderr
E0501.ast.stderr
E0501.mir.stderr
E0501.rs
E0506.ast.nll.stderr
E0506.ast.stderr
E0506.mir.stderr
E0506.rs
E0508-fail.ast.nll.stderr
E0508-fail.ast.stderr
E0508-fail.mir.stderr
E0508-fail.rs
E0508.ast.stderr
E0508.mir.stderr
E0508.nll.stderr
E0508.rs
E0508.stderr
E0583.rs
E0583.stderr
E0594.ast.nll.stderr
E0594.ast.stderr
E0594.mir.stderr
E0594.rs
E0596.ast.nll.stderr
E0596.ast.stderr
E0596.mir.stderr
E0596.rs
E0642.rs
E0642.stderr
E0660.rs
E0660.stderr
E0661.rs
E0661.stderr
E0662.rs
E0662.stderr
E0663.rs
E0663.stderr
E0664.rs
E0664.stderr
E0665.rs
E0665.stderr
E0705.rs
E0705.stderr
elide-errors-on-mismatched-tuple.rs
elide-errors-on-mismatched-tuple.stderr
elided-test.rs
elided-test.stderr
enable-unstable-lib-feature.rs
enable-unstable-lib-feature.stderr
enum-variant-generic-args.rs
enum-variant-generic-args.stderr
enums-pats-not-idents.rs
enums-pats-not-idents.stderr
error-festival.rs
error-festival.stderr
error-should-say-copy-not-pod.rs
error-should-say-copy-not-pod.stderr
estr-subtyping.rs
estr-subtyping.stderr
eval-enum.rs
eval-enum.stderr
exclusive-drop-and-copy.rs
exclusive-drop-and-copy.stderr
exhaustive_integer_patterns.rs
exhaustive_integer_patterns.stderr
expanded-cfg.rs
explain.rs
explain.stdout
explore-issue-38412.rs
explore-issue-38412.stderr
export2.rs
export2.stderr
export-fully-qualified.rs
export-fully-qualified.stderr
export-import.rs
export-import.stderr
export-tag-variant.rs
export-tag-variant.stderr
export.rs
export.stderr
expr_attr_paren_order.rs
expr_attr_paren_order.stderr
ext-nonexistent.rs
ext-nonexistent.stderr
extoption_env-no-args.rs
extoption_env-no-args.stderr
extoption_env-not-string-literal.rs
extoption_env-not-string-literal.stderr
extoption_env-too-many-args.rs
extoption_env-too-many-args.stderr
fail-no-dead-code-core.rs
fail-no-dead-code-core.stderr
fail-no-dead-code.rs
fail-no-dead-code.stderr
fail-simple.rs
fail-simple.stderr
fat-ptr-cast.rs
fat-ptr-cast.stderr
feature-gate-optimize_attribute.rs Resolve breakage 2019-01-25 19:20:38 +02:00
feature-gate-optimize_attribute.stderr Resolve breakage 2019-01-25 19:20:38 +02:00
feature-gated-feature-in-macro-arg.rs
feature-gated-feature-in-macro-arg.stderr
ffi_returns_twice.rs Correct error message 2019-02-23 15:48:40 +01:00
ffi_returns_twice.stderr Use E0724 instead of E0723 as an error code 2019-02-23 16:24:14 +01:00
float-literal-inference-restrictions.rs
float-literal-inference-restrictions.stderr
fn_must_use.rs
fn_must_use.stderr
foreign-fn-return-lifetime.fixed
foreign-fn-return-lifetime.rs
foreign-fn-return-lifetime.stderr
foreign-unsafe-fn-called.rs
foreign-unsafe-fn-called.stderr
future-incompatible-lint-group.rs
future-incompatible-lint-group.stderr
gated-bad-feature.rs
gated-bad-feature.stderr
generator-yielding-or-returning-itself.rs
generator-yielding-or-returning-itself.stderr
glob-cycles.rs
glob-resolve1.rs
glob-resolve1.stderr
hashmap-iter-value-lifetime.nll.stderr
hashmap-iter-value-lifetime.rs
hashmap-iter-value-lifetime.stderr
hashmap-lifetimes.nll.stderr
hashmap-lifetimes.rs
hashmap-lifetimes.stderr
hidden-rt-injection2.rs
hidden-rt-injection2.stderr
hidden-rt-injection.rs
hidden-rt-injection.stderr
higher-lifetime-bounds.rs
higher-lifetime-bounds.stderr
huge-array-simple.rs Make target pointer-width specific variants of (very old) huge-array-simple.rs test. 2019-02-22 15:13:07 +01:00
huge-array-simple.stderr Make target pointer-width specific variants of (very old) huge-array-simple.rs test. 2019-02-22 15:13:07 +01:00
huge-array.rs
huge-array.stderr
huge-enum.rs
huge-enum.stderr
huge-struct.rs
huge-struct.stderr
if-else-type-mismatch.rs
if-else-type-mismatch.stderr
illegal-ufcs-drop.rs
illegal-ufcs-drop.stderr
immut-function-arguments.ast.nll.stderr
immut-function-arguments.ast.stderr
immut-function-arguments.mir.stderr
immut-function-arguments.rs
impl-bounds-checking.rs
impl-bounds-checking.stderr
impl-duplicate-methods.rs
impl-duplicate-methods.stderr
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
import2.rs
import2.stderr
import3.rs
import3.stderr
import4.rs
import4.stderr
import.rs
import.stderr
impossible_range.rs
impossible_range.stderr
inaccessible-test-modules.rs
inaccessible-test-modules.stderr
index_message.rs
index_message.stderr
index-bot.rs
index-bot.stderr
index-help.rs
index-help.stderr
indexing-requires-a-uint.rs
indexing-requires-a-uint.stderr
init-unsafe.rs
init-unsafe.stderr
inline-asm-bad-constraint.rs
inline-asm-bad-constraint.stderr
inline-asm-bad-operand.rs
inline-asm-bad-operand.stderr
inner-static-type-parameter.rs Make name resolution handle consts in GenericParamsFromOuterFunction properly 2019-02-07 15:03:20 +01:00
inner-static-type-parameter.stderr Make name resolution handle consts in GenericParamsFromOuterFunction properly 2019-02-07 15:03:20 +01:00
integer-literal-suffix-inference.rs
integer-literal-suffix-inference.stderr
integral-indexing.rs
integral-indexing.stderr
integral-variable-unification-error.rs
integral-variable-unification-error.stderr
invalid_crate_type_syntax.rs
invalid_crate_type_syntax.stderr
invalid_dispatch_from_dyn_impls.rs
invalid_dispatch_from_dyn_impls.stderr
issue-18986.rs
issue-18986.stderr
issue-42944.rs Only suggest imports if not imported. 2019-02-11 19:29:10 +01:00
issue-42944.stderr Only suggest imports if not imported. 2019-02-11 19:29:10 +01:00
issue-53787-inline-assembler-macro.rs
issue-53787-inline-assembler-macro.stderr
issue-54943-1.rs
issue-54943-2.rs
issue-54943-3.rs
issue-54943.rs
issue-54943.stderr
issue-55511.nll.stderr
issue-55511.rs
issue-55511.stderr
issue-55846.rs
lang-item-missing.rs
lang-item-missing.stderr
lexical-scopes.rs
lexical-scopes.stderr
lifetime_starts_expressions.rs
lifetime_starts_expressions.stderr
lifetime-before-type-params.rs
lifetime-before-type-params.stderr Update tests 2019-02-07 15:02:17 +01:00
linkage2.rs
linkage2.stderr
linkage3.rs
linkage3.stderr
linkage4.rs
linkage4.stderr
loud_ui.rs
lto-duplicate-symbols.rs
lto-duplicate-symbols.stderr
lub-if.rs
lub-if.stderr
lub-match.rs
lub-match.stderr
main-wrong-location.rs
main-wrong-location.stderr
main-wrong-type.rs
main-wrong-type.stderr
malformed_macro_lhs.rs
malformed_macro_lhs.stderr
map-types.rs
map-types.stderr
match-on-negative-integer-ranges.rs Fix bug in integer range matching 2019-02-01 20:02:21 +00:00
maybe-bounds-where-cpass.rs
maybe-bounds-where.rs
maybe-bounds-where.stderr
maybe-bounds.rs
maybe-bounds.stderr
meta-expected-error-correct-rev.a.stderr
meta-expected-error-correct-rev.rs
minus-string.rs
minus-string.stderr
mir_check_nonconst.rs
mir_check_nonconst.stderr
mir-unpretty.rs
mir-unpretty.stderr
missing_debug_impls.rs
missing_debug_impls.stderr
mod-subitem-as-enum-variant.rs
mod-subitem-as-enum-variant.stderr
module-macro_use-arguments.rs
module-macro_use-arguments.stderr
multiple-main-2.rs
multiple-main-2.stderr
multiple-main-3.rs
multiple-main-3.stderr
multiple-plugin-registrars.rs
multiple-plugin-registrars.stderr
mutexguard-sync.rs
mutexguard-sync.stderr
nested_impl_trait.rs
nested_impl_trait.stderr
nested-cfg-attrs.rs
nested-cfg-attrs.stderr
nested-ty-params.rs Make name resolution handle consts in GenericParamsFromOuterFunction properly 2019-02-07 15:03:20 +01:00
nested-ty-params.stderr Make name resolution handle consts in GenericParamsFromOuterFunction properly 2019-02-07 15:03:20 +01:00
never_transmute_never.rs
never-assign-dead-code.rs
never-assign-dead-code.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
never-assign-wrong-type.rs
never-assign-wrong-type.stderr
no_crate_type.rs
no_crate_type.stderr
no_owned_box_lang_item.rs
no_owned_box_lang_item.stderr
no_send-enum.rs
no_send-enum.stderr
no_send-rc.rs
no_send-rc.stderr
no_send-struct.rs
no_send-struct.stderr
no_share-enum.rs
no_share-enum.stderr
no_share-struct.rs
no_share-struct.stderr
no-args-non-move-async-closure.rs
no-args-non-move-async-closure.stderr
no-capture-arc.nll.stderr Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
no-capture-arc.rs
no-capture-arc.stderr
no-implicit-prelude-nested.rs
no-implicit-prelude-nested.stderr
no-implicit-prelude.rs
no-implicit-prelude.stderr
no-link-unknown-crate.rs
no-link-unknown-crate.stderr
no-link.rs
no-link.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.nll.stderr Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
no-reuse-move-arc.rs
no-reuse-move-arc.stderr
no-send-res-ports.rs
no-send-res-ports.stderr
no-std-inject.rs
no-std-inject.stderr
no-type-for-node-ice.rs
no-type-for-node-ice.stderr
no-warn-on-field-replace-issue-34101.rs
noexporttypeexe.rs
noexporttypeexe.stderr
non-constant-expr-for-arr-len.rs
non-constant-expr-for-arr-len.stderr
non-constant-in-const-path.rs
non-constant-in-const-path.stderr
non-copyable-void.rs
non-copyable-void.stderr
non-interger-atomic.rs
non-interger-atomic.stderr
noncopyable-class.rs
noncopyable-class.stderr
nonscalar-cast.rs
nonscalar-cast.stderr
not-clone-closure.rs
not-clone-closure.stderr
not-copy-closure.nll.stderr
not-copy-closure.rs
not-copy-closure.stderr
not-enough-arguments.rs
not-enough-arguments.stderr
not-sync.rs
not-sync.stderr
object-does-not-impl-trait.rs
object-does-not-impl-trait.stderr
object-pointer-types.rs
object-pointer-types.stderr
obsolete-syntax-impl-for-dotdot.rs
obsolete-syntax-impl-for-dotdot.stderr
occurs-check-2.rs
occurs-check-2.stderr
occurs-check-3.rs
occurs-check-3.stderr
occurs-check.rs
occurs-check.stderr
old-suffixes-are-really-forbidden.rs
old-suffixes-are-really-forbidden.stderr
once-cant-call-twice-on-heap.nll.stderr Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
once-cant-call-twice-on-heap.rs
once-cant-call-twice-on-heap.stderr
opt-in-copy.rs
opt-in-copy.stderr
or-pattern-mismatch.rs
or-pattern-mismatch.stderr
order-dependent-cast-inference.rs
order-dependent-cast-inference.stderr
orphan-check-diagnostics.rs
orphan-check-diagnostics.stderr
osx-frameworks.rs
osx-frameworks.stderr
out-of-order-shadowing.rs
out-of-order-shadowing.stderr
output-type-mismatch.rs
output-type-mismatch.stderr
overlap-marker-trait.rs
overlap-marker-trait.stderr
overloaded-calls-nontuple.rs
overloaded-calls-nontuple.stderr
panic_implementation-closures.rs
paren-span.rs
paren-span.stderr
parenthesized-deref-suggestion.rs Corrected spelling inconsistency 2019-01-22 09:08:52 +01:00
parenthesized-deref-suggestion.stderr Corrected spelling inconsistency 2019-01-22 09:08:52 +01:00
parse-error-correct.rs
parse-error-correct.stderr
parser-recovery-1.rs
parser-recovery-1.stderr
parser-recovery-2.rs
parser-recovery-2.stderr Deduplicate mismatched delimiter errors 2019-02-07 01:41:30 -08:00
partialeq_help.rs
partialeq_help.stderr
path-lookahead.rs
path-lookahead.stderr
phantom-oibit.rs
phantom-oibit.stderr
placement-syntax.rs
placement-syntax.stderr
point-to-type-err-cause-on-impl-trait-return-2.rs
point-to-type-err-cause-on-impl-trait-return-2.stderr
point-to-type-err-cause-on-impl-trait-return.rs
point-to-type-err-cause-on-impl-trait-return.stderr
pptypedef.rs
pptypedef.stderr
precise_pointer_size_matching.rs
precise_pointer_size_matching.stderr
prim-with-args.rs
prim-with-args.stderr
priv-in-bad-locations.rs
priv-in-bad-locations.stderr
ptr-coercion.rs
ptr-coercion.stderr
question-mark-type-infer.rs
question-mark-type-infer.stderr
reassign-ref-mut.rs
reassign-ref-mut.stderr
ref-suggestion.nll.stderr ./x.py test src/test/ui --stage 1 --bless -i --compare-mode=nll 2019-02-20 09:54:10 -07:00
ref-suggestion.rs
ref-suggestion.stderr
refutable-pattern-errors.rs
refutable-pattern-errors.stderr
refutable-pattern-in-fn-arg.rs
refutable-pattern-in-fn-arg.stderr
regions-fn-subtyping-return-static-fail.rs update test files to reflect new output 2019-02-21 11:32:17 -05:00
regions-fn-subtyping-return-static-fail.stderr update test files to reflect new output 2019-02-21 11:32:17 -05:00
reject-specialized-drops-8142.rs
reject-specialized-drops-8142.stderr
removing-extern-crate.fixed
removing-extern-crate.rs
removing-extern-crate.stderr
repeat_count.rs
repeat_count.stderr
repeat-to-run-dtor-twice.rs
repeat-to-run-dtor-twice.stderr
repr.rs
repr.stderr
required-lang-item.rs
required-lang-item.stderr
resolve_self_super_hint.rs
resolve_self_super_hint.stderr
ret-non-nil.rs
ret-non-nil.stderr
retslot-cast.rs
retslot-cast.stderr
rfc1623.rs
rfc1623.stderr
rmeta_lib.rs
rmeta_lib.stderr
rmeta_meta_main.rs
rmeta_meta_main.stderr
rmeta-lib-pass.rs
rmeta-pass.rs
rmeta-priv-warn.rs
rmeta.rs
rmeta.stderr
rust-unstable-column-gated.rs
rust-unstable-column-gated.stderr
rustc-args-required-const2.rs
rustc-args-required-const2.stderr
rustc-args-required-const.rs
rustc-args-required-const.stderr
rustc-error.rs
rustc-error.stderr
safe-extern-statics-mut.rs
safe-extern-statics-mut.stderr
safe-extern-statics.rs
safe-extern-statics.stderr
seq-args.rs
seq-args.stderr
shift-various-bad-types.rs
shift-various-bad-types.stderr
short-error-format.rs
short-error-format.stderr
simd-type-generic-monomorphisation.rs
simd-type-generic-monomorphisation.stderr
simd-type.rs
simd-type.stderr
similar-tokens.rs
similar-tokens.stderr
single-primitive-inherent-impl.rs
single-primitive-inherent-impl.stderr
sized-cycle-note.rs
sized-cycle-note.stderr
slice-2.rs
slice-2.stderr
slice-mut-2.nll.stderr
slice-mut-2.rs
slice-mut-2.stderr
slice-mut.rs
slice-mut.stderr
slightly-nice-generic-literal-messages.rs
slightly-nice-generic-literal-messages.stderr
stability-in-private-module.rs Add test 2019-02-04 19:26:46 +09:00
stability-in-private-module.stderr Add test 2019-02-04 19:26:46 +09:00
stable-features.rs
stable-features.stderr
static_sized_requirement.rs
staticness-mismatch.rs
staticness-mismatch.stderr
std-uncopyable-atomics.nll.stderr
std-uncopyable-atomics.rs
std-uncopyable-atomics.stderr
stmt_expr_attrs_no_feature.rs
stmt_expr_attrs_no_feature.stderr
substs-ppaux.normal.stderr
substs-ppaux.rs
substs-ppaux.verbose.stderr
suffixed-literal-meta.rs
suffixed-literal-meta.stderr
super-at-top-level.rs
super-at-top-level.stderr
suppressed-error.rs
suppressed-error.stderr
switched-expectations.rs
switched-expectations.stderr
syntax-extension-minor.rs
syntax-extension-minor.stderr
syntax-trait-polarity-feature-gate.rs
syntax-trait-polarity-feature-gate.stderr
syntax-trait-polarity.rs
syntax-trait-polarity.stderr
synthetic-param.rs
synthetic-param.stderr
tag-that-dare-not-speak-its-name.rs Fix error in tag-that-dare-not-speak-its-name 2019-02-28 04:06:16 +09:00
tag-that-dare-not-speak-its-name.stderr Fix error in tag-that-dare-not-speak-its-name 2019-02-28 04:06:16 +09:00
tag-type-args.rs
tag-type-args.stderr
tag-variant-cast-non-nullary.rs
tag-variant-cast-non-nullary.stderr
tag-variant-disr-dup.rs
tag-variant-disr-dup.stderr
tail-typeck.rs
tail-typeck.stderr
target-feature-gate.rs Add MOVBE feature 2019-01-30 21:07:48 +05:30
target-feature-gate.stderr Add MOVBE feature 2019-01-30 21:07:48 +05:30
target-feature-wrong.rs
target-feature-wrong.stderr
terr-in-field.rs
terr-in-field.stderr
terr-sorts.rs
terr-sorts.stderr
test-attr-non-associated-functions.rs
test-attr-non-associated-functions.stderr
test-cfg.rs
test-cfg.stderr
test-on-macro.rs
test-on-macro.stderr
test-should-panic-attr.rs
test-should-panic-attr.stderr
test-warns-dead-code.rs
test-warns-dead-code.stderr
thread-local-in-ctfe.nll.stderr
thread-local-in-ctfe.rs
thread-local-in-ctfe.stderr
thread-local-mutation.nll.stderr
thread-local-mutation.rs
thread-local-mutation.stderr
tool_lints-fail.rs
tool_lints-fail.stderr
tool_lints.rs
tool_lints.stderr
trace_macros-format.rs
trace_macros-format.stderr
trace_macros-gate.rs
trace_macros-gate.stderr
trait-method-number-parameters.rs
trait-method-number-parameters.stderr
transmute-equal-assoc-types.rs
transmute-equal-assoc-types.stderr
trivial_casts.rs
trivial_casts.stderr
try-on-option.rs
try-on-option.stderr
try-operator-on-main.rs
try-operator-on-main.stderr
try-poll.rs
tutorial-suffix-inference-test.rs
tutorial-suffix-inference-test.stderr
type_length_limit.rs
type_length_limit.stderr
type-alias-enum-variants-panic.rs
type-alias-enum-variants-panic.stderr
type-alias-enum-variants-priority-2.rs
type-alias-enum-variants-priority-2.stderr
type-alias-enum-variants-priority-3.rs
type-alias-enum-variants-priority-3.stderr
type-alias-enum-variants-priority.rs
type-alias-enum-variants-priority.stderr
type-alias-enum-variants.rs
type-alias-enum-variants.stderr
ui-testing-optout.rs
ui-testing-optout.stderr
unconstrained-none.rs
unconstrained-none.stderr
unconstrained-ref.rs
unconstrained-ref.stderr
underscore_const_names.rs
underscore-ident-matcher.rs
underscore-ident-matcher.stderr
unevaluated_fixed_size_array_len.rs
unevaluated_fixed_size_array_len.stderr
unique-object-noncopyable.rs
unique-object-noncopyable.stderr
unique-pinned-nocopy.rs
unique-pinned-nocopy.stderr
unknown-language-item.rs
unknown-language-item.stderr
unknown-lint-tool-name.rs
unknown-lint-tool-name.stderr
unknown-tool-name.rs
unknown-tool-name.stderr
unnecessary-extern-crate.rs
unnecessary-extern-crate.stderr
unop-move-semantics.nll.stderr Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
unop-move-semantics.rs
unop-move-semantics.stderr
unop-neg-bool.rs
unop-neg-bool.stderr
unrestricted-attribute-tokens.rs Stabilize unrestricted_attribute_tokens 2019-02-25 23:21:54 +03:00
unsized3.rs
unsized3.stderr
unsized5.rs
unsized5.stderr
unsized6.rs
unsized6.stderr
unsized7.rs
unsized7.stderr
unspecified-self-in-trait-ref.rs
unspecified-self-in-trait-ref.stderr
unsupported-cast.rs
unsupported-cast.stderr
use-self-in-inner-fn.rs Make name resolution handle consts in GenericParamsFromOuterFunction properly 2019-02-07 15:03:20 +01:00
use-self-in-inner-fn.stderr Make name resolution handle consts in GenericParamsFromOuterFunction properly 2019-02-07 15:03:20 +01:00
used.rs
used.stderr
useless_comment.rs
useless_comment.stderr
useless-pub.rs
useless-pub.stderr
user-defined-macro-rules.rs
user-defined-macro-rules.stderr
utf8_idents.rs specify "upper camel case" in style lint 2019-02-13 13:41:32 -05:00
utf8_idents.stderr specify "upper camel case" in style lint 2019-02-13 13:41:32 -05:00
vector-cast-weirdness.rs
vector-cast-weirdness.stderr
vector-no-ann.rs
vector-no-ann.stderr
vtable-res-trait-param.rs
vtable-res-trait-param.stderr
walk-struct-literal-with.nll.stderr Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
walk-struct-literal-with.rs
walk-struct-literal-with.stderr
warn-path-statement.rs
warn-path-statement.stderr
wasm-custom-section-relocations.rs
wasm-custom-section-relocations.stderr
wasm-import-module.rs
wasm-import-module.stderr
while-let.rs
while-let.stderr
while-type-error.rs
while-type-error.stderr
windows-subsystem-invalid.rs
windows-subsystem-invalid.stderr
write-to-static-mut-in-static.rs
write-to-static-mut-in-static.stderr
writing-to-immutable-vec.nll.stderr
writing-to-immutable-vec.rs
writing-to-immutable-vec.stderr
wrong-mul-method-signature.rs
wrong-mul-method-signature.stderr
wrong-ret-type.rs
wrong-ret-type.stderr
xc-private-method2.rs
xc-private-method2.stderr
xc-private-method.rs
xc-private-method.stderr