granite-rust/src
bors b873fa6d42 Auto merge of #76136 - CDirkx:const-result, r=dtolnay
Stabilize some Result methods as const

Stabilize the following methods of Result as const:
 - `is_ok`
 - `is_err`
 - `as_ref`

A test is also included, analogous to the test for `const_option`.

These methods are currently const under the unstable feature `const_result` (tracking issue: #67520).
I believe these methods to be eligible for stabilization because of the stabilization of #49146 (Allow if and match in constants) and the trivial implementations, see also: [PR#75463](https://github.com/rust-lang/rust/pull/75463) and [PR#76135](https://github.com/rust-lang/rust/pull/76135).

Note: these methods are the only methods currently under the `const_result` feature, thus this PR results in the removal of the feature.

Related: #76225
2020-09-20 13:07:11 +00:00
..
bootstrap Rollup merge of #76800 - jyn514:usage, r=Mark-Simulacrum 2020-09-20 12:08:15 +02:00
build_helper cleanup: Remove duplicate library names from Cargo.tomls 2020-08-30 22:57:54 +03:00
ci Make sure we build target-only things (e.g., docs) for host platforms too 2020-09-18 12:00:53 -04:00
doc Auto merge of #76804 - tmandry:rollup-nwntt3q, r=tmandry 2020-09-16 20:18:19 +00:00
etc Implement HashSet in terms of hashbrown::HashSet 2020-09-08 17:24:23 -07:00
librustdoc Auto merge of #76782 - lzutao:rd-cap, r=jyn514 2020-09-18 21:31:08 +00:00
llvm-project@833dd1e3d4 Update llvm-project to include PR 73 2020-09-05 12:49:17 -07:00
test Auto merge of #74949 - oli-obk:validate_const_eval_raw, r=RalfJung 2020-09-20 08:58:32 +00:00
tools Auto merge of #76136 - CDirkx:const-result, r=dtolnay 2020-09-20 13:07:11 +00:00
README.md Update README.md 2020-08-30 13:40:11 -05:00
stage0.txt bump version to 1.48 2020-08-26 10:16:59 +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.