Skip to content

another infinite recursion #420

Description

@gtrak

I think the fix to #301 didn't address what the user posted. It had self in the args.

I also hit the same issue myself and it was tough to debug.

failing test case:
gtrak@8c86fdf#diff-52497d2243f5bec77c5ad6dc288f06f636be715b31c620c8ffc3ccaba340bacf

stderr:

┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error[E0425]: cannot find value `__FAIL__` in this scope
 --> tests/ui/unconditional-recursion-2.rs:8:5
  |
8 |     __FAIL__;
  |     ^^^^^^^^ not found in this scope
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions