diff options
author | Muhammad Mahad <mahadtxt@gmail.com> | 2023-08-15 21:29:03 +0500 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-08-18 10:49:02 +0000 |
commit | 879a62f50dd693dba84e0e983e38d1480efaa69a (patch) | |
tree | cf380f02bae13e29fde4c8a41ceacf6ec5d042bf /gcc/rust/backend | |
parent | 8ac2e43fb27170442d26e03271ba8b8775f1eb84 (diff) | |
download | gcc-879a62f50dd693dba84e0e983e38d1480efaa69a.zip gcc-879a62f50dd693dba84e0e983e38d1480efaa69a.tar.gz gcc-879a62f50dd693dba84e0e983e38d1480efaa69a.tar.bz2 |
gccrs: [E0391] Detected type dependency cycle
This errorcode & message emits when cycle
detected when computing the super predicates
of `x` which requires computing the super
predicates of `y`, which again requires
computing the super predicates of `x`,
completing the cycle.
gcc/rust/ChangeLog:
* typecheck/rust-hir-trait-resolve.cc (TraitResolver::resolve_trait):
Updated errorcode & more userfriendly message.
gcc/testsuite/ChangeLog:
* rust/compile/issue-1589.rs: Updated comment for dejagnu.
* rust/compile/trait-cycle.rs: New relevant test.
Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions