rust/src
Manish Goregaokar 40fd2bdcfe
Rollup merge of #72804 - estebank:opaque-missing-lts-in-fn-2, r=nikomatsakis
Further tweak lifetime errors involving `dyn Trait` and `impl Trait` in return position

* Suggest substituting `'static` lifetime in impl/dyn `Trait + 'static` instead of `Trait + 'static + '_`
* When `'static` is explicit, also suggest constraining argument with it
* Reduce verbosity of suggestion message and mention lifetime in label
* Tweak output for overlapping required/captured spans
* Give these errors an error code

Follow up to #72543.

r? @nikomatsakis
2020-06-18 15:20:43 -07:00
..
bootstrap Auto merge of #69890 - lenary:lenary/riscv-frame-pointers, r=hanna-kruppe,Mark-Simulacrum 2020-06-17 11:30:56 +00:00
build_helper
ci Avoid prematurely recording toolstates 2020-06-15 13:56:11 -04:00
doc Rollup merge of #73230 - Amanieu:asm-unused2, r=petrochenkov 2020-06-11 19:04:20 +02:00
etc Implement new gdb/lldb pretty-printers 2020-06-09 16:13:11 +03:00
liballoc Rollup merge of #72584 - CAD97:stabilize-58957, r=dtolnay 2020-06-15 09:57:26 +02:00
libcore Rollup merge of #72628 - MikailBag:array-default-tests, r=shepmaster 2020-06-18 15:20:41 -07:00
libpanic_abort
libpanic_unwind Bump to 1.46 2020-06-03 15:27:51 -04:00
libproc_macro
libprofiler_builtins
librustc_apfloat Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
librustc_arena Rollup merge of #73237 - tmiasko:arena, r=nnethercote 2020-06-16 15:08:35 +02:00
librustc_ast Auto merge of #72080 - matthewjasper:uniform-impl-trait, r=nikomatsakis 2020-06-15 04:10:24 +00:00
librustc_ast_lowering Auto merge of #73369 - RalfJung:rollup-hl8g9zf, r=RalfJung 2020-06-15 11:39:23 +00:00
librustc_ast_passes [AVR] Add AVR platform support 2020-06-09 17:34:07 +12:00
librustc_ast_pretty Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasper 2020-06-11 19:04:16 +02:00
librustc_attr Make things build again 2020-06-02 20:38:24 +03:00
librustc_builtin_macros Rollup merge of #73178 - petrochenkov:explint, r=varkor 2020-06-12 12:28:25 +02:00
librustc_codegen_llvm Auto merge of #69478 - avr-rust:avr-support-upstream, r=jonas-schievink 2020-06-12 01:28:37 +00:00
librustc_codegen_ssa Rollup merge of #70551 - mark-i-m:ty-err-2, r=varkor 2020-06-18 15:20:30 -07:00
librustc_data_structures Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
librustc_driver Auto merge of #72927 - petrochenkov:rustc, r=Mark-Simulacrum 2020-06-06 09:00:51 +00:00
librustc_error_codes Change E0758 to E0759 to avoid conflict with #72912 2020-06-15 09:06:58 -07:00
librustc_errors track caller for delay_span_bug 2020-06-15 18:25:58 -05:00
librustc_expand Rollup merge of #73178 - petrochenkov:explint, r=varkor 2020-06-12 12:28:25 +02:00
librustc_feature Add feature gate for precise live drop checking 2020-06-13 11:05:11 -07:00
librustc_fs_util
librustc_graphviz Rename the crates in source code 2020-06-02 20:42:54 +03:00
librustc_hir Expand "recursive opaque type" diagnostic 2020-06-15 11:08:43 -07:00
librustc_hir_pretty Auto merge of #72080 - matthewjasper:uniform-impl-trait, r=nikomatsakis 2020-06-15 04:10:24 +00:00
librustc_incremental Remove associated opaque types 2020-06-11 16:24:01 +01:00
librustc_index Make things build again 2020-06-02 20:38:24 +03:00
librustc_infer Rollup merge of #72804 - estebank:opaque-missing-lts-in-fn-2, r=nikomatsakis 2020-06-18 15:20:43 -07:00
librustc_interface Ensure that `drop_elaboration_and_check_consts` runs for all const items 2020-06-13 11:05:13 -07:00
librustc_lexer Rollup merge of #72906 - lzutao:migrate-numeric-assoc-consts, r=dtolnay 2020-06-12 12:28:23 +02:00
librustc_lint make all uses of ty::Error or ConstKind::Error delay a span bug 2020-06-15 18:25:58 -05:00
librustc_llvm [AVR] Add AVR platform support 2020-06-09 17:34:07 +12:00
librustc_macros Use min_specialization in the remaining rustc crates 2020-06-10 09:05:52 +01:00
librustc_metadata Auto merge of #73369 - RalfJung:rollup-hl8g9zf, r=RalfJung 2020-06-15 11:39:23 +00:00
librustc_middle Rollup merge of #72804 - estebank:opaque-missing-lts-in-fn-2, r=nikomatsakis 2020-06-18 15:20:43 -07:00
librustc_mir Rollup merge of #70551 - mark-i-m:ty-err-2, r=varkor 2020-06-18 15:20:30 -07:00
librustc_mir_build make all uses of ty::Error or ConstKind::Error delay a span bug 2020-06-15 18:25:58 -05:00
librustc_parse Rollup merge of #71976 - mibac138:let-recovery, r=estebank 2020-06-18 15:20:36 -07:00
librustc_parse_format Make things build again 2020-06-02 20:38:24 +03:00
librustc_passes make all uses of ty::Error or ConstKind::Error delay a span bug 2020-06-15 18:25:58 -05:00
librustc_plugin_impl
librustc_privacy make all uses of ty::Error or ConstKind::Error delay a span bug 2020-06-15 18:25:58 -05:00
librustc_query_system Use min_specialization in the remaining rustc crates 2020-06-10 09:05:52 +01:00
librustc_resolve Auto merge of #72080 - matthewjasper:uniform-impl-trait, r=nikomatsakis 2020-06-15 04:10:24 +00:00
librustc_save_analysis make all uses of ty::Error or ConstKind::Error delay a span bug 2020-06-15 18:25:58 -05:00
librustc_serialize Use min_specialization in the remaining rustc crates 2020-06-10 09:05:52 +01:00
librustc_session Rollup merge of #73178 - petrochenkov:explint, r=varkor 2020-06-12 12:28:25 +02:00
librustc_span Rollup merge of #72389 - Aaron1011:feature/move-fn-self-msg, r=nikomatsakis 2020-06-15 09:57:22 +02:00
librustc_symbol_mangling make all uses of ty::Error or ConstKind::Error delay a span bug 2020-06-15 18:25:58 -05:00
librustc_target Auto merge of #69890 - lenary:lenary/riscv-frame-pointers, r=hanna-kruppe,Mark-Simulacrum 2020-06-17 11:30:56 +00:00
librustc_trait_selection Rollup merge of #71338 - estebank:recursive-impl-trait, r=nikomatsakis 2020-06-18 15:20:33 -07:00
librustc_traits make all uses of ty::Error or ConstKind::Error delay a span bug 2020-06-15 18:25:58 -05:00
librustc_ty make all uses of ty::Error or ConstKind::Error delay a span bug 2020-06-15 18:25:58 -05:00
librustc_typeck Rollup merge of #71338 - estebank:recursive-impl-trait, r=nikomatsakis 2020-06-18 15:20:33 -07:00
librustdoc Rollup merge of #70551 - mark-i-m:ty-err-2, r=varkor 2020-06-18 15:20:30 -07:00
libstd Rollup merge of #72279 - RalfJung:raw-ref-macros, r=nikomatsakis 2020-06-18 15:20:39 -07:00
libterm
libtest typo: awailable -> available 2020-06-08 13:37:58 -07:00
libunwind Rollup merge of #73187 - mati865:bootstrap-cleanup, r=Mark-Simulacrum 2020-06-12 00:05:31 +02:00
llvm-project@0ddefeca92 Update LLVM submodule 2020-06-13 19:54:09 +01:00
rtstartup
rustc
rustllvm Auto merge of #69478 - avr-rust:avr-support-upstream, r=jonas-schievink 2020-06-12 01:28:37 +00:00
stdarch@45340c0e2f Update stdarch submodule to latest head 2020-05-31 00:12:59 +02:00
test Rollup merge of #72804 - estebank:opaque-missing-lts-in-fn-2, r=nikomatsakis 2020-06-18 15:20:43 -07:00
tools Auto merge of #72357 - ortem:new-dbg-pretty-printers, r=pnkfelix 2020-06-15 15:21:45 +00:00
README.md
stage0.txt Bump to 1.46 2020-06-03 15:27:51 -04:00

README.md

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

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

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