aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-13 14:01:29 +0000
committerGitHub <[email protected]>2020-03-13 14:01:29 +0000
commit4c85e53531fc9e2e2c2f1368c01e08e10e190cd5 (patch)
tree19ea33f76fd6ef700ed8db695019aa04a315649c /crates/ra_db/src
parent9019d794fe0883ee8ea9776bcda1a5bf0ad6153d (diff)
parentfa655912b540ece5920de8deb7856629850f5bdc (diff)
parent89eb9e8002466f3099de77bc42cdabbf67d5dc1b (diff)
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 <[email protected]> Co-authored-by: hdevalke <[email protected]> Co-authored-by: Florian Diebold <[email protected]>