Skip to content

RustDoc not working on specific files #19933

Closed
@alexispurslane

Description

@alexispurslane

BTW im fairly new to rust.
So, in parser.rs, I have this code:

mod tokenizer;
#[experimental = "Not finished"]
/// The parse funciton translates the tokens generated by the tokenizer into LLVM nodes.
///
/// The parser is both the most important and hardest item of the entire alonzo system. In it, we
/// translate Alnozo code into LLVM nodes, and than output the machene language that results.
/// Since LLVM is used for more C-like, lowlevel languages, translating Alnonzo to it will be very
/// hard, and sometimes it might look like this code came from "The Department of Redundancy
/// Department."
#[experimental = "Not finished"]
fn parse (tokens: Vec<tokenizer::Token>) /*-> SomeKindOfLLVMThing*/ {

}

Then, I run rustdoc src/parser.rs. I then look in the doc/ directory and see nothing pertaining to the parser. But when I run rustdoc on the tokenizer file, guess what, I see a directory with that name right there in the doc directory. Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions