about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <ariel.byd@gmail.com>2017-12-13 23:06:54 -0600
committerAriel Ben-Yehuda <ariel.byd@gmail.com>2017-12-13 23:06:54 -0600
commit2679944653bb7ef1690840cc177da9896daa2963 (patch)
treeb55b0b5f78079506157037f29fb50a68ac597637 /src/libsyntax
parente798cb0e52e505ed759f8af01e90a758858b115d (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions