-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Location Info error for "multiple applicable items in scope for: test" #2366
Labels
Comments
MahadMuhammad
added a commit
to MahadMuhammad/gccrs
that referenced
this issue
Aug 15, 2023
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
github-merge-queue bot
pushed a commit
that referenced
this issue
Aug 17, 2023
Multiple items found with same prototype. Fixes: #2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Nov 15, 2023
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Nov 21, 2023
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Nov 21, 2023
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 5, 2024
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 8, 2024
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 9, 2024
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 11, 2024
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 12, 2024
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 16, 2024
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
CohenArthur
pushed a commit
to CohenArthur/gccrs
that referenced
this issue
Jan 16, 2024
Multiple items found with same prototype. Fixes: Rust-GCC#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
nstester
pushed a commit
to nstester/gcc
that referenced
this issue
Jan 16, 2024
Multiple items found with same prototype. Fixes: Rust-GCC/gccrs#2366 gcc/rust/ChangeLog: * typecheck/rust-hir-path-probe.h: Fixes issue & added rich location message. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Added rich location and error code. gcc/testsuite/ChangeLog: * rust/compile/generics6.rs: Updated dejagnu comment. * rust/compile/generics7.rs: likewise. * rust/compile/issue-925.rs: likewise. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried this code:
This happened:
I expected to see this happen:
Meta
The text was updated successfully, but these errors were encountered: