about summary refs log tree commit diff
path: root/editors/code/src/client.ts
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-13 14:01:29 +0000
committerGitHub <noreply@github.com>2020-03-13 14:01:29 +0000
commit4c85e53531fc9e2e2c2f1368c01e08e10e190cd5 (patch)
tree19ea33f76fd6ef700ed8db695019aa04a315649c /editors/code/src/client.ts
parent9019d794fe0883ee8ea9776bcda1a5bf0ad6153d (diff)
parentfa655912b540ece5920de8deb7856629850f5bdc (diff)
parent89eb9e8002466f3099de77bc42cdabbf67d5dc1b (diff)
downloadrust-4c85e53531fc9e2e2c2f1368c01e08e10e190cd5.tar.gz
rust-4c85e53531fc9e2e2c2f1368c01e08e10e190cd5.zip
Merge #3561 #3577
3561: feat: add debug code lens r=matklad a=hdevalke

Refs #3539

3577: Protect against infinite macro expansion in def collector r=edwin0cheng a=flodiebold

Something I noticed while trying to make macro expansion more resilient against errors.

There was a test for this, but it wasn't actually working because the first recursive expansion failed. (The comma...)

Even with this limit, that test (when fixed) still takes some time to pass because of the exponential growth of the expansions, so I disabled it and added a different one without growth.

CC @edwin0cheng 

Co-authored-by: Hannes De Valkeneer <hannes@de-valkeneer.be>
Co-authored-by: hdevalke <2261239+hdevalke@users.noreply.github.com>
Co-authored-by: Florian Diebold <florian.diebold@freiheit.com>