diff options
| author | Eric Huss <eric@huss.org> | 2018-03-03 12:26:18 -0800 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2018-03-14 11:40:13 -0700 |
| commit | b4b7ccbd1ce1d794f4f9718ec0182b15591b73fa (patch) | |
| tree | 68321d8c0c9ed14bba6db7d50ff0cbb605702658 /src/test/ui/span | |
| parent | 11d9959641e017a9e01e0a2a408c23421d26cbe3 (diff) | |
| download | rust-b4b7ccbd1ce1d794f4f9718ec0182b15591b73fa.tar.gz rust-b4b7ccbd1ce1d794f4f9718ec0182b15591b73fa.zip | |
Add crate name to "main function not found" error message.
Fixes #44798 and rust-lang/cargo#4948.
Diffstat (limited to 'src/test/ui/span')
| -rw-r--r-- | src/test/ui/span/issue-35987.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/span/issue-35987.stderr b/src/test/ui/span/issue-35987.stderr index d3267d0cc15..09d34f3d1af 100644 --- a/src/test/ui/span/issue-35987.stderr +++ b/src/test/ui/span/issue-35987.stderr @@ -8,7 +8,7 @@ help: possible better candidate is found in another module, you can import it in LL | use std::ops::Add; | -error[E0601]: main function not found +error[E0601]: main function not found in crate issue_35987 error: cannot continue compilation due to previous error |
