Skip to content

thread 'main' panicked at 'already borrowed: BorrowMutError' #16

@bbrk24

Description

@bbrk24

I had written this program:

G'DAY MATE!

THE HARD YAKKA FOR recursiveFunc IS () <
    GIMME"running...";
    recursiveFunc();
>

recursiveFunc();

CHEERS C***!

Notice the typo -- GIMME" rather than GIMME ". The program failed with a syntax error. However, when I fixed it and ran it again, I got this error:

thread 'main' panicked at 'already borrowed: BorrowMutError', /Users/zackradisic/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/io/stdio.rs:872:20
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The more I click run, the worse the errors get, saying thread panicked while panicking. aborting. and then thread panicked while processing panic. aborting..

Metadata

Metadata

Assignees

No one assigned

    Labels

    FUCKUPBUG OR SOMETHIN' BROKE

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions