Skip to content

Compiler Panic (capacity overflow from CodeMap::span_to_lines ) #24954

Closed
@gsquire

Description

@gsquire

Code:
I got an unexpected compiler panic today when trying to compile this gist.

Back trace:
I realize the code does not build on my end, but the compiler panicked and output this with RUST_BACKTRACE=1.

Meta

rustc --version --verbose:

  • rustc 1.0.0-beta.2 (e9080ec 2015-04-16) (built 2015-04-16)
  • binary: rustc
  • commit-hash: e9080ec
  • commit-date: 2015-04-16
  • build-date: 2015-04-16
  • host: i686-unknown-linux-gnu
  • release: 1.0.0-beta.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions