error: could not compile #1 [privacy_access_levels] privacy access levels #92772
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The output was:
With RUST_BACKTRACE=1
and the lsb_release -a is
The code I tried to compile:
main.rs
insert.rs
Cargo.toml
and then:
cargo build
At line 7 ofr main.rs
insert::insert();
I forgot the await so the compiler should display some kind of error. If you try to compile it fixing the codeinsert::insert().await?;
it compiles perfectly.I'm sorry if the report is very poor or silly, I just saw the messge
we would appreciate a bug report
and wanted to help :)The text was updated successfully, but these errors were encountered: