cargo/tests
bors 76cdf9314a Auto merge of #7655 - ehuss:offline-patched-error, r=alexcrichton
Remove --offline empty index error.

This reverts the error added in #6871 which attempts to provide a "nicer" error message if `--offline` is used with an empty index. I was concerned about false positives, and sure enough someone found one. If all deps are patched, it is OK for the index to be empty, because the resolver will just use the patched entries.

I considered trying to move the error to another location, but I think it would require significant changes to the registry API (which is already hard to follow). I figure the "not found" error message is good enough with the "don't use --offline" hint.

Closes #7582
2019-12-04 00:59:24 +00:00
..
build-std Update documentation for custom target dependencies. 2019-11-22 10:22:26 -08:00
testsuite Auto merge of #7655 - ehuss:offline-patched-error, r=alexcrichton 2019-12-04 00:59:24 +00:00