about summary refs log tree commit diff
path: root/src/librustdoc/html/static/source-script.js
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2019-01-22 13:51:30 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2019-01-22 14:45:13 +0100
commit2dea8ec630eebabee46bc51b3ea14fe5e88834c1 (patch)
tree9d6ff0b427b1f35f34e3b5877b702a061f347cd9 /src/librustdoc/html/static/source-script.js
parent38650b69cafbff61d71a275ced1e9866a08a36c0 (diff)
downloadrust-2dea8ec630eebabee46bc51b3ea14fe5e88834c1.tar.gz
rust-2dea8ec630eebabee46bc51b3ea14fe5e88834c1.zip
Do not initiate nested probe within `assemble_probe`.
In particular, the table entries (associated with type-variables
created during the probe) must persist as long as the candidates
assembled during the probe. If you make a nested probe without
creating a nested `ProbeContext`, the table entries are popped at the
end of the nested probe, while the type-variables would leak out via
the assembled candidates attached to `self` (the outer
`ProbeContext`). This causes an ICE (*if you are lucky*)!
Diffstat (limited to 'src/librustdoc/html/static/source-script.js')
0 files changed, 0 insertions, 0 deletions