rust/src
Matthias Krüger b74ae0487b
Rollup merge of #89821 - crlf0710:unsafe_code_lint_test, r=Mark-Simulacrum
Add a strange test for `unsafe_code` lint.

The current behavior is a little surprising to me. I'm not sure whether people would change it, but at least let me document the current behavior with a test.

I learnt about this from the [totally-speedy-transmute](https://docs.rs/totally-speedy-transmute) crate.

cc #10599 the original implementation pr.
2021-10-15 07:44:45 +02:00
..
bootstrap Rollup merge of #89865 - tmandry:llvm-static, r=Mark-Simulacrum 2021-10-14 16:06:46 +02:00
build_helper Migrate to 2021 2021-09-20 22:21:42 -04:00
ci CI: Use mirror for downloads. 2021-10-08 08:44:40 +02:00
doc Update books 2021-10-11 21:10:05 -07:00
etc Encode json files with UTF-8 2021-09-30 00:11:14 +09:00
librustdoc Auto merge of #89815 - GuillaumeGomez:associated-consts-sidebar, r=notriddle 2021-10-14 02:24:52 +00:00
llvm-project@a7348ae0df Update to the final LLVM 13.0.0 release 2021-10-01 21:06:19 -07:00
rustdoc-json-types Remove special-casing of never primitive in rustdoc-json-types 2021-10-08 16:53:39 +02:00
test Rollup merge of #89821 - crlf0710:unsafe_code_lint_test, r=Mark-Simulacrum 2021-10-15 07:44:45 +02:00
tools Auto merge of #89555 - oli-obk:nll_member_constraint_diag, r=estebank 2021-10-13 20:36:10 +00:00
README.md
stage0.json Bump stage0 compiler to 1.56 2021-09-08 20:51:05 -04:00
version Bump version to 1.57 2021-09-03 21:54:48 -04: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.