rust/src/libsyntax/ext
Esteban Küber aaf3e318fc Do not emit type errors on recovered blocks
When a parse error occurs on a block, the parser will recover and create
a block with the statements collected until that point. Now a flag
stating that a recovery has been performed in this block is propagated
so that the type checker knows that the type of the block (which will be
identified as `()`) shouldn't be checked against the expectation to
reduce the amount of irrelevant diagnostic errors shown to the user.
2017-12-21 14:57:42 -08:00
..
tt Rollup merge of #44088 - bjorn3:better_trace_macros, r=jseyfried 2017-09-17 13:19:00 +02:00
base.rs Implement non-mod.rs mod statements 2017-12-19 14:58:51 -08:00
build.rs Do not emit type errors on recovered blocks 2017-12-21 14:57:42 -08:00
derive.rs limit packed copy-out to non-generic Copy structs 2017-11-26 16:12:43 +02:00
expand.rs Implement non-mod.rs mod statements 2017-12-19 14:58:51 -08:00
placeholders.rs Lifting Generics from MethodSig to TraitItem and ImplItem since we want to support generics in each variant of TraitItem and ImplItem 2017-10-17 22:14:14 -04:00
quote.rs Use PathBuf instead of String where applicable 2017-12-14 11:22:08 +01:00
source_util.rs Implement non-mod.rs mod statements 2017-12-19 14:58:51 -08:00