rust/src/test
Manish Goregaokar 54b6292855
Rollup merge of #104621 - YC:master, r=davidtwco
Fix --extern library finding errors

- `crate_name` is not specified/passed to `metadata_crate_location_unknown_type`
c493bae0d8/compiler/rustc_error_messages/locales/en-US/metadata.ftl (L274-L275)
- `metadata_lib_filename_form` is missing `$`
- Add additional check to ensure that library is file

Testing
1. Create file `a.rs`
```rust
extern crate t;
fn main() {}
```
1. Create empty file `x`
1. Create empty directory `y`
1. Run
```sh
$ rustc -o a a.rs --extern t=x
$ rustc -o a a.rs --extern t=y
```
Both currently panic with stable.
2022-11-22 22:54:40 -05:00
..
assembly fix assembly test on apple 2022-11-19 16:58:02 +01:00
auxiliary
codegen Rollup merge of #104435 - scottmcm:iter-repeat-n, r=thomcc 2022-11-20 13:15:59 +09:00
codegen-units Bless cgu test. 2022-09-23 18:42:14 +02:00
debuginfo Auto merge of #104470 - ehuss:cdb-dupe-last-command, r=jyn514 2022-11-19 22:25:18 +00:00
incremental Add a few known-bug tests 2022-11-13 18:27:37 -05:00
mir-opt rename to string_deref_patterns 2022-11-18 06:16:20 +00:00
pretty Rollup merge of #99939 - saethlin:pre-sort-tests, r=thomcc,jackh726 2022-10-24 19:32:25 +09:00
run-make Auto merge of #104120 - mejrs:diag, r=davidtwco 2022-11-21 18:36:26 +00:00
run-make-fulldeps run tests on the remote device even when the default address is used 2022-11-17 09:37:41 +01:00
run-pass-valgrind Bless more tests 2022-11-05 18:05:45 +00:00
rustdoc rustdoc: update tests for enum variant margin tweak 2022-11-17 15:37:34 -07:00
rustdoc-gui Rollup merge of #104666 - GuillaumeGomez:migrate-alias-search-result, r=notriddle 2022-11-22 00:01:11 +01:00
rustdoc-js Add regression test for reexports in search results 2022-10-30 13:58:00 +01:00
rustdoc-js-std Update asrawfd.js. 2022-08-29 08:31:42 -07:00
rustdoc-json rustdoc JSON: Use Function everywhere and remove Method 2022-11-16 20:24:03 +01:00
rustdoc-ui Rollup merge of #104052 - TaKO8Ki:fix-103997, r=notriddle 2022-11-07 18:35:26 +05:30
ui Rollup merge of #104621 - YC:master, r=davidtwco 2022-11-22 22:54:40 -05:00
ui-fulldeps Improve slug name error 2022-11-21 15:24:51 +01:00
COMPILER_TESTS.md