Skip to content

The book, unsafe, using libcore, example is wrong for panic_fmt #23169

Description

@strega-nil

It should be fn panic_fmt(_: core::fmt::Arguments, _: &(&'static str, usize)) -> ! {} according to libcore's panicking.rs.

Also, whenever I use core without #![no_main], I get an llvm error; Am I doing something wrong?

http://is.gd/p71qD2

Sorry, I know that isn't really related at all :P

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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