Skip to content

How to use backtrace after stabilisation? #262

Closed
@Morganamilo

Description

@Morganamilo

I can't quite figure out how to use backtrace now that it's stable.

The backtrace method is gone from the error type, however looking at the docs it says:

If using the nightly channel, or stable with features = ["backtrace"], a backtrace is captured and printed with the error if the underlying error type does not already provide its own. In order to see backtraces, they must be enabled through the environment variables described in std::backtrace:

This seems to imply it prints automatically now but it does not. Searching the docs for backtrace doesn't give any results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions