rust/src
Matthias Krüger e79e9f5e2a
Rollup merge of #89839 - jkugelman:must-use-mem-ptr-functions, r=joshtriplett
Add #[must_use] to mem/ptr functions

There's a lot of low-level / unsafe stuff here. Are there legit use cases for ignoring any of these return values?

* No regressions in `./x.py test --stage 1 library/std src/tools/clippy`.
* One regression in `./x.py test --stage 1 src/test/ui`. Fixed.
* I am unable to run `./x.py doc` on my machine so I'll need to wait for the CI to verify doctests pass. I eyeballed all the adjacent tests and they all look okay.

Parent issue: #89692

r? ```@joshtriplett```
2021-10-31 09:20:25 +01:00
..
bootstrap remove "field is never read" warning 2021-10-23 21:55:57 -04:00
build_helper Migrate to 2021 2021-09-20 22:21:42 -04:00
ci Move back to linux builder on try builds 2021-10-25 09:38:24 -04:00
doc Rollup merge of #90374 - GuillaumeGomez:unify-rustdoc-book-titles, r=camelid 2021-10-30 14:37:00 +02:00
etc Encode json files with UTF-8 2021-09-30 00:11:14 +09:00
librustdoc Rollup merge of #90183 - GuillaumeGomez:recurse-deref, r=jyn514 2021-10-30 20:30:26 +02:00
llvm-project@a7348ae0df Update to the final LLVM 13.0.0 release 2021-10-01 21:06:19 -07:00
rustdoc-json-types Moved format-version constant to rustdoc-json-types 2021-10-15 12:27:42 +03:00
test Rollup merge of #89839 - jkugelman:must-use-mem-ptr-functions, r=joshtriplett 2021-10-31 09:20:25 +01:00
tools Update miri 2021-10-28 21:38:43 -04:00
README.md
stage0.json bump boostrap compiler 2021-10-23 21:55:57 -04:00
version bump version to rust 1.58.0 2021-10-17 16:04:44 +02: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.