-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Labels
A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
Experimenting with Rocket and learning Rust. Updating this issue is a work in progress.
fekerr@LAPTOP:~/src/boing001$ cat Cargo.toml
[package]
name = "boing001"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# rocket = "0.4.11"
rocket = "0.5.0-rc.3"
Code
<code>
fekerr@LAPTOP:~/src/boing001$ cat src/main.rs
// 20230325 fekerr
// main.rs
//
// traitobj crate - issues in future?
// Rocket requires rustc nightly, and these two lines.
#![feature(proc_macro_hygiene, decl_macro)]
#[macro_use] extern crate rocket;
fn main() {
println!("Hello, world!");
}
Meta
rustc --version --verbose
:
rustc --version --verbose
rustc 1.70.0-nightly (1459b3128 2023-03-23)
binary: rustc
commit-hash: 1459b3128e288a85fcc4dd1fee7ada2cdcf28794
commit-date: 2023-03-23
host: x86_64-unknown-linux-gnu
release: 1.70.0-nightly
LLVM version: 15.0.7
Error output
<output>
cargo doc 2> cargo_doc.txt
[cargo_doc.txt](https://github.com/rust-lang/rust/files/11071785/cargo_doc.txt)
Backtrace
<backtrace>
fekerr@LAPTOP:~/src/boing001$ RUST_BACKTRACE=1 cargo build 2> cargo_build_rbt1.txt
fekerr@LAPTOP:~/src/boing001$ RUST_BACKTRACE=1 cargo build 2> cargo_doc_rbt1.txt
[cargo_build_rbt1.txt](https://github.com/rust-lang/rust/files/11071820/cargo_build_rbt1.txt)
[cargo_doc_rbt1.txt](https://github.com/rust-lang/rust/files/11071821/cargo_doc_rbt1.txt)
Metadata
Metadata
Assignees
Labels
A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
clubby789 commentedon Mar 26, 2023
Looks like a duplicate of #109614/#109424
@rustbot label +A-intra-doc-links +T-rustdoc
GuillaumeGomez commentedon Mar 27, 2023
#109330 should fix this bug. Just waiting for a final review.
petrochenkov commentedon Mar 28, 2023
Not fixed by #109330, but fixed by #109500.
ModChild
ren #109500fekerr commentedon Mar 31, 2023
rustup update
cargo update
cargo doc
"cargo doc" completes now
That's literally all I just tried (not the literal commands) - what is the process to close this issue?
GuillaumeGomez commentedon Mar 31, 2023
It'll be closed once #109500 is merged. But I'm surprised it got fixed. When I tested it with my changes, it still failed.
clubby789 commentedon Mar 31, 2023
cargo update
may have caused an update to a dependency so you no longer had the buggy rustixfekerr commentedon Apr 1, 2023
diff Cargo.toml ../boing002/Cargo.toml
9d8
< # rocket = "0.4.11"
10a10,12
11 remaining items