Commit 6f92aaa
committed
Auto merge of #14700 - kornelski:patchdash, r=weihanglo
Help with [patch.crates.io]
This catches a syntactical mistake in TOML that's easy to make by patching `[patch.crates.io]` instead of `[patch.crates-io]`.
```diff
error: failed to parse manifest at `Cargo.toml`
Caused by:
[patch] entry `crates` should be a URL or registry name
+ For crates.io, use [patch.crates-io] (with a dash)
Caused by:
invalid url `crates`: relative URL without a base
```1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1892 | 1892 | | |
1893 | 1893 | | |
1894 | 1894 | | |
1895 | | - | |
1896 | | - | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
1897 | 1902 | | |
1898 | 1903 | | |
1899 | 1904 | | |
| |||
0 commit comments