diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2021-10-06 13:01:43 -0700 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2021-10-12 13:10:12 -0700 |
| commit | cc6a09009d5129f1221dc0e93c08c84967d1015e (patch) | |
| tree | 8f549170fc64211ada6978859fc9a229657009c1 /src/test/ui/crate-loading/crateresolve1.rs | |
| parent | 2e56b6f98e34edcafe0d7691939c4c33302a1a5c (diff) | |
| download | rust-cc6a09009d5129f1221dc0e93c08c84967d1015e.tar.gz rust-cc6a09009d5129f1221dc0e93c08c84967d1015e.zip | |
Add long explanation for E0464
The test is copied from `src/test/ui/crate-loading/crateresolve1.rs` and its auxiliary tests. I added it to the `compile_fail` code example check exemption list since it's hard if not impossible to reproduce this error in a standalone code example.
Diffstat (limited to 'src/test/ui/crate-loading/crateresolve1.rs')
| -rw-r--r-- | src/test/ui/crate-loading/crateresolve1.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/crate-loading/crateresolve1.rs b/src/test/ui/crate-loading/crateresolve1.rs index 8e01862746f..c071a9b4b6a 100644 --- a/src/test/ui/crate-loading/crateresolve1.rs +++ b/src/test/ui/crate-loading/crateresolve1.rs @@ -6,6 +6,8 @@ // normalize-stderr-test: "\\\?\\" -> "" // normalize-stderr-test: "libcrateresolve1-([123])\.[a-z]+" -> "libcrateresolve1-$1.somelib" +// NOTE: This test is duplicated at `src/test/ui/error-codes/E0464.rs`. + extern crate crateresolve1; //~^ ERROR multiple matching crates for `crateresolve1` |
