Skip to content

error! and debug! escape single quotes strangely #3752

Closed
@catamorphism

Description

@catamorphism
fn main() {
    error!("It's time for dinner!");
}

prints

rust: ~"It\'s time for dinner!"

io::println prints the correct output. Not a big deal, just a little strange.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-syntaxextArea: Syntax extensionsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions