]> git.lizzy.rs Git - rust.git/commit
Improve error message when duplicate names for type and trait method
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 8 Aug 2017 12:12:06 +0000 (14:12 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 8 Aug 2017 19:17:33 +0000 (21:17 +0200)
commitaaa14d1d20f3cc1104bb619f66c78a49762182ff
tree0234eaefb6dc2254217eb67d9e951ecd207149cf
parentd69cdca153ac34259a64189e9f77a5e5afadbcf4
Improve error message when duplicate names for type and trait method
src/librustc_typeck/check/method/mod.rs
src/librustc_typeck/check/method/probe.rs
src/librustc_typeck/check/method/suggest.rs
src/librustc_typeck/check/mod.rs
src/test/ui/trait-method-private.rs [new file with mode: 0644]
src/test/ui/trait-method-private.stderr [new file with mode: 0644]