rust/crates
bors[bot] 4c85e53531
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>
2020-03-13 14:01:29 +00:00
..
ra_arena Switch to variant-granularity field type inference 2019-11-25 00:12:36 +03:00
ra_assists Remove some TextUnit->usize escapees 2020-03-12 22:33:27 -04:00
ra_cargo_watch Handle diagnostics with multiple primary spans 2020-03-12 15:24:20 +01:00
ra_cfg Update versions 2020-02-18 16:12:40 +02:00
ra_db Add extern source 2020-03-11 11:04:02 +08:00
ra_fmt When joining lines, unwrap trivial diverging blocks 2020-02-24 17:17:05 +01:00
ra_hir Fix completion of HashMap::new 2020-03-13 13:04:32 +01:00
ra_hir_def Protect against infinite macro expansion in def collector 2020-03-13 14:50:03 +01:00
ra_hir_expand Update comment 2020-03-12 02:00:56 +08:00
ra_hir_ty Merge #3549 2020-03-11 10:51:07 +00:00
ra_ide Fix completion of HashMap::new 2020-03-13 13:04:32 +01:00
ra_ide_db Remove some TextUnit->usize escapees 2020-03-12 22:33:27 -04:00
ra_mbe Merge #3513 2020-03-09 08:56:58 +00:00
ra_parser Parse variadics correctly 2020-03-13 13:54:14 +01:00
ra_prof Allow specifying additional info on call to profile 2020-03-06 17:36:51 +01:00
ra_project_model Switch from Vec<InlayKind> to object with props 2020-03-11 20:14:39 -07:00
ra_syntax Parse variadics correctly 2020-03-13 13:54:14 +01:00
ra_text_edit Remove some TextUnit->usize escapees 2020-03-12 22:33:27 -04:00
ra_tt Update versions 2020-02-18 16:12:40 +02:00
rust-analyzer Merge #3561 #3577 2020-03-13 14:01:29 +00:00
test_utils Move verbose tests out of line 2020-03-13 12:20:42 +01:00