rust/src
Matthias Krüger 2004a51fa4
Rollup merge of #92468 - NieDzejkob:silent-cfg, r=petrochenkov
Emit an error for `--cfg=)`

Fixes #73026

See also: #64467, #89468

The issue stems from a `FatalError` being silently raised in
`panictry_buffer`. Normally this is not a problem, because
`panictry_buffer` emits the causes of the error, but they are not
themselves fatal, so they get filtered out by the silent emitter.

To fix this, we use a parser entrypoint which doesn't use
`panictry_buffer`, and we handle the error ourselves.
2022-01-01 22:49:53 +01:00
..
bootstrap Remove some dead code 2022-01-01 18:50:56 +01:00
build_helper
ci Rollup merge of #92440 - GuillaumeGomez:fix-mobile-toggles, r=jsha 2021-12-31 23:14:49 +01:00
doc Auto merge of #88354 - Jmc18134:hint-space-pauth-opt, r=nagisa 2021-12-29 22:35:11 +00:00
etc Implement @snapshot check for htmldocck 2021-12-01 15:12:10 -08:00
librustdoc Rollup merge of #92440 - GuillaumeGomez:fix-mobile-toggles, r=jsha 2021-12-31 23:14:49 +01:00
llvm-project@6b3dbcc81a Backport LLVM changes to disable deferred inlining 2021-12-19 23:49:03 +02:00
rustdoc-json-types
test Rollup merge of #92468 - NieDzejkob:silent-cfg, r=petrochenkov 2022-01-01 22:49:53 +01:00
tools Make tidy check for magic numbers that spell things 2021-12-31 21:13:07 -08:00
README.md
stage0.json Bump bootstrap compiler 2021-11-30 10:44:21 -05:00
version Bump to 1.59 2021-11-26 14:53:55 -05:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.