rust/src/test
Esteban Küber 9149ec74db Tweak conditions for E0026 and E0769
When we have a tuple struct used with struct we don't want to suggest using
the (valid) struct syntax with numeric field names. Instead we want to
suggest the expected syntax.

Given

```rust
fn main() {
    match MyOption::MySome(42) {
        MyOption::MySome { x: 42 } => (),
        _ => (),
    }
}
```

We now emit E0769 "tuple variant `MyOption::MySome` written as struct variant"
instead of E0026 "variant `MyOption::MySome` does not have a field named `x`".
2020-08-09 17:12:57 -07:00
..
assembly compiletest: Support ignoring tests requiring missing LLVM components 2020-08-02 20:35:24 +03:00
auxiliary
codegen Auto merge of #74533 - nikic:issue-74425, r=eddyb 2020-08-08 13:33:53 +00:00
codegen-units instance: polymorphize FnDef substs 2020-08-07 18:41:45 +01:00
compile-fail rustc_metadata: Make crate loading fully speculative 2020-07-18 14:06:04 +04:00
debuginfo Rollup merge of #75224 - Aaron1011:fix/function-arguments-naked, r=Amanieu 2020-08-08 11:36:02 +09:00
incremental Share serialization optimization between incr and metadata 2020-07-26 18:37:03 -04:00
mir-opt Auto merge of #74821 - oli-obk:const_eval_read_uninit_fast_path, r=wesleywiser 2020-08-07 15:28:07 +00:00
pretty tests: add regression test for #74745 2020-08-02 15:33:06 +01:00
run-make proc_macro: Add API for tracked access to environment variables 2020-07-26 13:37:37 +03:00
run-make-fulldeps intra_doc_resolution_failures -> broken_intra_doc_links 2020-07-30 10:38:55 -07:00
run-pass-valgrind
rustdoc Rollup merge of #75237 - nbdd0121:rustdoc, r=jyn514 2020-08-08 11:36:03 +09:00
rustdoc-js rustdoc: Fix doc aliases with crate filtering 2020-06-23 09:27:37 +01:00
rustdoc-js-std Make current crate aliases go first 2020-05-14 11:36:02 +02:00
rustdoc-ui Auto merge of #73842 - euclio:doctest-expn, r=GuillaumeGomez 2020-08-07 11:38:17 +00:00
rustfix
ui Tweak conditions for E0026 and E0769 2020-08-09 17:12:57 -07:00
ui-fulldeps Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
COMPILER_TESTS.md