aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-04-12 18:06:32 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-04-12 22:39:45 +0100
commit2f62f936aba0a712158e75f2556f0604cf7bb614 (patch)
tree1db74c53d3aaac6f7930ae6d7844808c103c548b /gcc/rust/backend
parent7e4ca97cac069886c2e54674f973f723e68ee912 (diff)
downloadgcc-2f62f936aba0a712158e75f2556f0604cf7bb614.zip
gcc-2f62f936aba0a712158e75f2556f0604cf7bb614.tar.gz
gcc-2f62f936aba0a712158e75f2556f0604cf7bb614.tar.bz2
Add check for duplicate overlapping impl-items
When we have impl blocks for a generic type rust allows the programmer to reuse impl item names but if you give a generic implementation it means this generic implementation will overlap meaning it will not be possible to determine the Path. See rustc error: rustc --explain E0592 rustc_typeck/src/coherence/inherent_impls_overlap.rs Fixes #353
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions