-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong diagnostic: main
function not found in crate
#124935
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
C-bug
Category: This is a bug.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
rustbot
added
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
May 9, 2024
@rustbot label +A-diagnostics S-has-mvce |
saethlin
added
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
A-diagnostics
Area: Messages for errors, warnings, and lints
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
May 10, 2024
@rustbot claim |
@saethlin any idea why rustbot ignored me? |
Just guessing, the missing + for S-has-mcve maybe? |
Merged
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
May 18, 2024
Rollup merge of rust-lang#125117 - dev-ardi:improve-parser, r=wesleywiser,fmease Improve parser Fixes rust-lang#124935. - Add a few more help diagnostics to incorrect semicolons - Overall improved that function - Addded a few comments - Renamed diff_marker fns to git_diff_marker
Oops, this should'nt've been closed. |
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
May 21, 2024
Fix parsing of erroneously placed semicolons This closes rust-lang#124935, is a continuation of rust-lang#125245 after rebasing rust-lang#125117. Thanks `@gurry` for your code and sorry for making it confusing :P r? fmease
fmease
added a commit
to fmease/rust
that referenced
this issue
May 21, 2024
Fix parsing of erroneously placed semicolons This closes rust-lang#124935, is a continuation of rust-lang#125245 after rebasing rust-lang#125117. Thanks ``@gurry`` for your code and sorry for making it confusing :P r? fmease
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
May 21, 2024
Rollup merge of rust-lang#125276 - dev-ardi:no-main-diag, r=fmease Fix parsing of erroneously placed semicolons This closes rust-lang#124935, is a continuation of rust-lang#125245 after rebasing rust-lang#125117. Thanks ```@gurry``` for your code and sorry for making it confusing :P r? fmease
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
C-bug
Category: This is a bug.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Tested on nightly and stable.
The second diagnostic is strange.
The text was updated successfully, but these errors were encountered: