Skip to content

ICE cannot relate bound region  #20186

Closed
Closed
@edef1c

Description

@edef1c
src/serial.rs:10:17: 10:26 error: internal compiler error: cannot relate bound region: ReLateBound(DebruijnIndex { depth: 1 }, BrNamed(DefId { krate: 1, node: 61296 }, 'a)) <= '_#1r
src/serial.rs:10     for byte in s.bytes() {
                                 ^~~~~~~~~
  pub fn puts(&self, s: &str) {
    for byte in s.bytes() {
      self.putc(byte)
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions