Skip to content

failed to install rustc from source code,error unknown token. #25699

Closed
@ggaaooppeenngg

Description

@ggaaooppeenngg
<stdin>:1:24: 1:25 error: unknown start of token: `
<stdin>:1 (A.) the Drop impl for `D` instantiates `D` at 'a directly,
                                 ^
thread '<unnamed>' panicked at 'Box<Any>', /home/tuoye.gp/workspace/rust/src/libsyntax/parse/lexer/mod.rs:167
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: Any', /home/tuoye.gp/workspace/rust/src/libcore/result.rs:729
/home/tuoye.gp/workspace/rust/mk/docs.mk:264: recipe for target 'doc/rustc_typeck/index.html' failed
make[1]: *** [doc/rustc_typeck/index.html] Error 101
make[1]: Leaving directory '/home/tuoye.gp/workspace/rust'
/home/tuoye.gp/workspace/rust/mk/install.mk:16: recipe for target 'install' failed
make: *** [install] Error 2

I got the message above,how to fix it?

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