diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2017-12-13 23:06:54 -0600 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2017-12-13 23:06:54 -0600 |
| commit | 2679944653bb7ef1690840cc177da9896daa2963 (patch) | |
| tree | b55b0b5f78079506157037f29fb50a68ac597637 /src/libsyntax/parse/parser.rs | |
| parent | e798cb0e52e505ed759f8af01e90a758858b115d (diff) | |
| download | rust-2679944653bb7ef1690840cc177da9896daa2963.tar.gz rust-2679944653bb7ef1690840cc177da9896daa2963.zip | |
fix broken assertion in type_param
Nested generics (aka method generics) in trait methods don't have an *additional* Self parameter in their own type parameter list (they have a Self parameter in the parent generics), so don't try to check we're correctly adjusting for it. Fixes #46568.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions
