Skip to content

Report proper errors on item name conflict and write more tests #65

Closed

Description

@froystig

Conflicting item names at the same path level currently get caught by assertions in the compiler. Report friendly errors instead. This could also use some more thorough testing, so write a few tests (both failing and not) beyond the current run-pass/item-name-overload.rs and compile-fail/item-name-overload.rs.

Activity

  1. graydon commented on Jan 27, 2011

    @graydon
    Contributor

    WONTFIX (not required for bootstrapping)

  2. added a commit that references this issue on Jul 19, 2017
  3. added a commit that references this issue on Dec 12, 2017
  4. added a commit that references this issue on Nov 29, 2018
  5. added a commit that references this issue on May 15, 2021
  6. added a commit that references this issue on Oct 1, 2021
  7. added a commit that references this issue on Aug 21, 2026
  8. added a commit that references this issue on Sep 3, 2026
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

    A-frontendArea: Compiler frontend (errors, parsing and HIR)E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions