Skip to content

[WIP] Skip single use lifetime lint for generated opaque types #78004

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 10,000 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
33817d2
Move match tests in match folder
roxelo Aug 28, 2021
d562848
fix(rustc_parse): incorrect span information for macro block expr
notriddle Aug 29, 2021
3a21a5b
Auto merge of #88088 - nbdd0121:const2, r=nagisa
bors Aug 29, 2021
f7c0566
fix(rustc_parse): incorrect span information for macro path expr
notriddle Aug 29, 2021
757a65b
Auto merge of #88250 - rusticstuff:macos-lld, r=nagisa
bors Aug 29, 2021
3ee6d0b
Fix: don't document private macros by default
inquisitivecrystal Aug 29, 2021
66acdee
Auto merge of #88295 - alexcrichton:update-stdarch, r=kennytm
bors Aug 29, 2021
59013cd
ast_lowering: Introduce `lower_span` for catching all spans entering HIR
petrochenkov Aug 20, 2021
6aacbd8
Add regression test
inquisitivecrystal Aug 29, 2021
e4368de
Suggestion for call on immutable binding of mutable type
estebank Mar 18, 2021
a6af6d6
Provide structured suggestion for removal of `&mut`
estebank Aug 9, 2021
5b6f4b9
rebase: fix test output
estebank Aug 29, 2021
59ce765
Auto merge of #88312 - jackh726:issue-87748, r=nikomatsakis
bors Aug 29, 2021
ef52471
Auto merge of #88208 - petrochenkov:lowspan, r=Aaron1011
bors Aug 29, 2021
ed30993
Use the correct type for Enum variant tuples
GuillaumeGomez Aug 27, 2021
a521388
Add rustdonc-json tests for enum variants
GuillaumeGomez Aug 27, 2021
8eb50ce
Rollup merge of #80543 - LeSeulArtichaut:notify-close, r=spastorino
GuillaumeGomez Aug 29, 2021
22973a8
Rollup merge of #83251 - estebank:issue-83241, r=oli-obk
GuillaumeGomez Aug 29, 2021
63cfbf5
Rollup merge of #85534 - csmoe:demagnle-assert, r=michaelwoerister
GuillaumeGomez Aug 29, 2021
aa61575
Rollup merge of #88173 - camelid:refactor-markdown-length-limit, r=Gu…
GuillaumeGomez Aug 29, 2021
3e1a15b
Rollup merge of #88349 - spastorino:const-static-types-tait-test, r=o…
GuillaumeGomez Aug 29, 2021
fdb4b7c
Rollup merge of #88357 - lcnr:stabilize-relaxed_struct_unsize, r=Mark…
GuillaumeGomez Aug 29, 2021
281dfac
Rollup merge of #88381 - rtzoeller:dfly_stack_t_ss_sp_void, r=dtolnay
GuillaumeGomez Aug 29, 2021
1a6e8d7
Rollup merge of #88387 - ehuss:remove-rustfix-tests, r=Mark-Simulacrum
GuillaumeGomez Aug 29, 2021
efed604
Rollup merge of #88396 - klensy:bump-deps-vuln, r=Mark-Simulacrum
GuillaumeGomez Aug 29, 2021
9ffbd50
Rollup merge of #88407 - nebkor:release-note-1.55x2, r=Mark-Simulacrum
GuillaumeGomez Aug 29, 2021
b738802
Rollup merge of #88411 - Aaron1011:remove-session-if-let, r=estebank
GuillaumeGomez Aug 29, 2021
7248ff2
Rollup merge of #88417 - xu-cheng:rel-fix-link, r=jyn514
GuillaumeGomez Aug 29, 2021
26feefd
Rollup merge of #88419 - GuillaumeGomez:code-blocks-colors, r=camelid…
GuillaumeGomez Aug 29, 2021
daa4dc9
Auto merge of #88461 - GuillaumeGomez:rollup-khgu0eb, r=GuillaumeGomez
bors Aug 29, 2021
b8728e7
rustdoc: Stop using resolver for macro loading
petrochenkov Aug 29, 2021
ae0b03b
Auto merge of #88262 - klensy:pprust-cow, r=nagisa
bors Aug 29, 2021
fbd775f
2229: Handle update to capture kind properly
arora-aman Aug 29, 2021
2f662b1
Auto merge of #88280 - sexxi-goose:non-exhaustive, r=nikomatsakis
bors Aug 29, 2021
793fbc7
2229: Drop any deref in move closure
arora-aman Aug 29, 2021
8e6d126
rustc_target: `TyAndLayout::field` should never error.
eddyb Aug 25, 2021
78778fc
rustc_target: remove `LayoutOf` bound from `TyAbiInterface`.
eddyb Aug 25, 2021
9556d7a
Auto merge of #88337 - eddyb:field-failure-is-not-an-option, r=nagisa
bors Aug 29, 2021
fc125a5
emit specific warning to clarify that foreign items can't have no_mangle
asquared31415 Aug 30, 2021
d96234b
Retrieve `DefKind` from HIR map to reduce chance of cycles
camelid Aug 30, 2021
faf5985
Adding examples to docs of std::time module
marcospb19 Aug 29, 2021
147f74a
Clean up the lowering of AST items
inquisitivecrystal Aug 28, 2021
dbb0fe9
Auto merge of #88456 - inquisitivecrystal:private-macro, r=jyn514
bors Aug 30, 2021
13edc17
Auto merge of #88281 - asquared31415:asm-docs, r=Amanieu
bors Aug 30, 2021
fcc2bad
rename const_evaluatable_checked to generic_const_exprs
BoxyUwU Aug 25, 2021
c0e853f
remove lazy_normalization_consts
BoxyUwU Aug 25, 2021
0c28e02
`feature(const_generics)` -> `feature(const_param_types)`
lcnr Aug 27, 2021
4747cbb
allow unordered const/ty params if any cg feature is active
lcnr Aug 26, 2021
87e7817
`feature(const_param_types)` -> `feature(adt_const_params)`
lcnr Aug 30, 2021
6cfa773
Auto merge of #87680 - mati865:stacker-psm-update, r=Mark-Simulacrum,…
bors Aug 30, 2021
446c429
Fix LLVM libunwind build for non-musl targets
Aug 30, 2021
748a089
Disallow the aapcs CC on Aarch64
nagisa Aug 27, 2021
14cbb4b
Add regression test for a spurious import
athei Aug 30, 2021
1a2fe87
Remove unused arena macro args
bjorn3 Aug 30, 2021
388d90a
make edition 2021 stable
HTGAzureX1212 Aug 17, 2021
4bed11a
update rustc cmdargs markdown section
HTGAzureX1212 Aug 18, 2021
6adbbb6
Update LATEST_STABLE_EDITION to 2021.
m-ou-se Aug 30, 2021
8553c19
Put back display of associated items (types and consts)
GuillaumeGomez Aug 30, 2021
eb91366
Put back "auto-collapse-implementors" setting
GuillaumeGomez Aug 30, 2021
3e61c53
update miri
RalfJung Aug 30, 2021
403b80d
Use MaybeUninit::write in functor.rs
est31 Aug 30, 2021
a4f6d3e
Fix lifetime generics in <T as Trait<..>>::try_from suggestion.
m-ou-se Aug 30, 2021
e2abf06
Fix lifetime generics in <T<..> as Trait>::try_from suggestion.
m-ou-se Aug 30, 2021
78a7d1c
Add and update tests.
m-ou-se Aug 30, 2021
51e4fba
Fix prelude collision suggestions for glob imported traits.
m-ou-se Aug 30, 2021
89a9867
Add test for glob imported prelude collision trait.
m-ou-se Aug 30, 2021
3b6777f
add `TcpStream::set_linger` and `TcpStream::linger`
ibraheemdev Aug 30, 2021
8539a3c
sunos systems add sanitizer supported.
devnexen Aug 29, 2021
dafc147
clean up `c::linger` conversion
ibraheemdev Aug 30, 2021
5d68044
Auto merge of #88466 - sexxi-goose:issue-88372, r=nikomatsakis
bors Aug 30, 2021
ab36927
Update test output for stable Rust 2021.
m-ou-se Aug 30, 2021
10eed8f
No longer pass -Z unstable-options for edition 2021 in test.
m-ou-se Aug 30, 2021
336f314
Warn when [T; N].into_iter() is ambiguous in the new edition.
m-ou-se Aug 30, 2021
756ef3b
Add test for 2021 ambiguous [T; N].into_iter().
m-ou-se Aug 30, 2021
4986bbf
Keep turbofish in prelude collision lint.
m-ou-se Aug 30, 2021
532be28
Test that turbofish does not swim away in prelude collusion suggestion.
m-ou-se Aug 30, 2021
b99038f
use `unwrap_unchecked` where possible
ibraheemdev Aug 30, 2021
8cecac2
Add test case for using `slice::fill` with MaybeUninit
atsuzaki Aug 30, 2021
4c7c97a
Fix loading large rlibs
Mark-Simulacrum Aug 30, 2021
23d2cb8
Don't suggest extra <> in dyn suggestion.
m-ou-se Aug 30, 2021
f8beb8f
Add test for extra <> in dyn suggestion.
m-ou-se Aug 30, 2021
422ad3b
Upgrade array_into_iter lint to include Deref-to-array types.
m-ou-se Aug 30, 2021
90080f4
Don't give invalid suggestions in array_into_iter.
m-ou-se Aug 30, 2021
96d4666
Update tests for array_into_iter lint upgrade.
m-ou-se Aug 30, 2021
ac93ca3
Turn to ifs into a match.
m-ou-se Aug 30, 2021
6f388bb
Auto merge of #88369 - lcnr:cec-rename, r=oli-obk
bors Aug 30, 2021
56ea5e0
Auto merge of #88100 - HTG-YT:edition2021-compopt-stabilization, r=m-…
bors Aug 31, 2021
89d2600
Add let-else to AST
camsteffen Jun 22, 2021
581abbf
Move some methods to block module
camsteffen Aug 4, 2021
120d46e
Refactor lower_stmts
camsteffen Aug 4, 2021
ae32e88
Lower let-else to HIR
camsteffen Aug 29, 2021
960ea09
Add let_else feature gate
camsteffen Jun 23, 2021
04d7903
Fix clippy for let-else
camsteffen Jul 25, 2021
cb4439a
Temporary fix rustfmt for let-else
camsteffen Jul 25, 2021
2f4e86b
Enforce diverging let...else
camsteffen Jul 30, 2021
29bc94f
Handle let-else initializer edge case errors
camsteffen Jul 30, 2021
dc028f6
Calculate LetSource later
camsteffen Aug 27, 2021
df9a2e0
Handle irrufutable or unreachable let-else
camsteffen Jul 30, 2021
5b95df4
Add let-else tests
camsteffen Aug 2, 2021
3ff1d6b
Fix tests
camsteffen Aug 2, 2021
1e37e83
Auto merge of #88414 - Aaron1011:guess-foreign-head-span, r=estebank
bors Aug 31, 2021
4027629
Remove unnecessary `mut` from udp doctests
soenkehahn Aug 31, 2021
026322c
fix(rustc_typeck): produce better errors for dyn auto trait
notriddle Aug 31, 2021
435cdd0
Update E0785.md
notriddle Aug 31, 2021
d4f263a
Auto merge of #88467 - sexxi-goose:issue-88431, r=nikomatsakis
bors Aug 31, 2021
fe37929
Auto merge of #88491 - RalfJung:miri, r=RalfJung
bors Aug 31, 2021
cd20fbd
Rollup merge of #88394 - ChrisDenton:patch-1, r=joshtriplett
m-ou-se Aug 31, 2021
5eeeb0b
Rollup merge of #88406 - spastorino:tait-nest-infer-test, r=oli-obk
m-ou-se Aug 31, 2021
b490f35
Rollup merge of #88408 - spastorino:inference-cycle-tait-test, r=oli-obk
m-ou-se Aug 31, 2021
0e49feb
Rollup merge of #88409 - spastorino:autoleakage-tait-test, r=oli-obk
m-ou-se Aug 31, 2021
2013792
Rollup merge of #88413 - spastorino:weird-return-types-tait-test, r=o…
m-ou-se Aug 31, 2021
7696aca
Rollup merge of #88450 - notriddle:notriddle/maybe_whole_expr, r=cjgi…
m-ou-se Aug 31, 2021
d47b7d7
Rollup merge of #88462 - petrochenkov:macstore, r=jyn514
m-ou-se Aug 31, 2021
497267a
Rollup merge of #88465 - marcospb19:master, r=joshtriplett
m-ou-se Aug 31, 2021
e094380
Rollup merge of #88486 - bjorn3:better_arena_macro, r=jackh726
m-ou-se Aug 31, 2021
4adacfd
Rollup merge of #88492 - est31:maybe_uninit_write, r=wesleywiser
m-ou-se Aug 31, 2021
fdf9c09
Rollup merge of #88496 - m-ou-se:prelude-collision-lifetime-generics,…
m-ou-se Aug 31, 2021
db44069
Rollup merge of #88497 - m-ou-se:prelude-collision-glob, r=nikomatsakis
m-ou-se Aug 31, 2021
caca256
Rollup merge of #88503 - m-ou-se:array-into-inter-ambiguous, r=cjgillot
m-ou-se Aug 31, 2021
feafda8
Rollup merge of #88509 - m-ou-se:dyn-no-left-shift-right-shift-just-s…
m-ou-se Aug 31, 2021
76d18cf
Auto merge of #88527 - m-ou-se:rollup-az6xtc5, r=m-ou-se
bors Aug 31, 2021
7bcc9ae
Avoid cloning LocalDecls
ptrojahn Jun 3, 2021
99a3d64
Remove single use variables
ptrojahn Aug 31, 2021
84df1ed
Delete long-running large rlibs test
Mark-Simulacrum Aug 31, 2021
2a06daa
Pull Span::find_ancestor_inside loop into its own function.
m-ou-se Aug 30, 2021
a15dab9
Use right span in prelude collision suggestions with macros.
m-ou-se Aug 30, 2021
fc0fb38
Add macro test for prelude collision suggestions.
m-ou-se Aug 30, 2021
7c0479b
Use and_then instead of unwrap_or_default.
m-ou-se Aug 31, 2021
43738c6
Concrete regions can show up in mir borrowck if the originated from t…
oli-obk Aug 31, 2021
ffc43b8
add safety annotation to `LinkedList::detach_all_nodes`
ibraheemdev Aug 31, 2021
072e8c9
disable `tcp_linger` feature in `std`
ibraheemdev Aug 31, 2021
5390ea4
Move to the top of file
atsuzaki Aug 31, 2021
6e70678
Change wording to less jaron-y "non-auto trait"
notriddle Aug 31, 2021
e7a247d
Rollup merge of #85017 - clarfonthey:carrying_widening, r=m-ou-se
m-ou-se Aug 31, 2021
175c8cb
Rollup merge of #86362 - ptrojahn:insert_vars_and_temps, r=jackh726
m-ou-se Aug 31, 2021
f4f5dd5
Rollup merge of #88391 - GuillaumeGomez:fix-json-enum-variant, r=came…
m-ou-se Aug 31, 2021
4d08908
Rollup merge of #88399 - nagisa:nagisa/aapcs-on-aarch, r=petrochenkov
m-ou-se Aug 31, 2021
ab37e49
Rollup merge of #88418 - fee1-dead:trait-assoc-tilde-const, r=oli-obk
m-ou-se Aug 31, 2021
41249ca
Rollup merge of #88445 - inquisitivecrystal:ast-lowering, r=cjgillot
m-ou-se Aug 31, 2021
c5a34d8
Rollup merge of #88495 - ibraheemdev:tcp-linger, r=joshtriplett
m-ou-se Aug 31, 2021
91c4fee
Rollup merge of #88501 - m-ou-se:prelude-collusion-oh-no-macros-help,…
m-ou-se Aug 31, 2021
13f6d7e
Rollup merge of #88504 - m-ou-se:turbofish-please-stay, r=oli-obk
m-ou-se Aug 31, 2021
f5cf967
Rollup merge of #88524 - soenkehahn:master, r=jyn514
m-ou-se Aug 31, 2021
0a84708
Auto merge of #88535 - m-ou-se:rollup-jeusxbo, r=m-ou-se
bors Aug 31, 2021
87e39ac
Remove bolding on associated constants
camelid Aug 23, 2021
0e0c8ae
Use the return value of readdir_r() instead of errno
tavianator Aug 31, 2021
7f2df9a
some low hanging clippy::perf fixes
matthiaskrgr Aug 30, 2021
8d7d488
Lint Abi in ast validation.
cjgillot Jul 8, 2021
29ef6cf
Auto merge of #88506 - Mark-Simulacrum:fix-rlibs, r=ehuss
bors Aug 31, 2021
7189c85
Improve closure dummy capture suggestion in macros.
m-ou-se Aug 31, 2021
7d18052
Add test for closure migration where body is a block fragment.
m-ou-se Aug 31, 2021
753dac1
Stabilize `UnsafeCell::raw_get()`
inquisitivecrystal Aug 31, 2021
06dd4c0
Stabilize `Iterator::intersperse()`
inquisitivecrystal Aug 31, 2021
cfe2d30
Move test to run-make-fulldeps to avoid compiler flag bug
Aug 31, 2021
a395610
Auto merge of #88533 - oli-obk:tait_🧊, r=spastorino
bors Aug 31, 2021
227e004
Add a few tests for `UnsafeCell`
inquisitivecrystal Aug 31, 2021
c2a4088
Auto merge of #87688 - camsteffen:let-else, r=cjgillot
bors Sep 1, 2021
2d1240e
Box `GenericArgs::Parenthesized.output`
camelid Aug 23, 2021
280e167
Remove unhelpful `expect()` message
camelid Sep 1, 2021
c4f26b1
Auto merge of #88121 - camelid:better-recursive-alias-error, r=estebank
bors Sep 1, 2021
608b5e1
Auto merge of #88272 - willcrichton:mutable-sparse-matrix, r=ecstatic…
bors Sep 1, 2021
dcefd68
Rollup merge of #86376 - asquared31415:extern-no-mangle-84204, r=Mark…
m-ou-se Sep 1, 2021
5878780
Rollup merge of #88040 - nbdd0121:btreemap, r=m-ou-se
m-ou-se Sep 1, 2021
8fd53e3
Rollup merge of #88053 - bjorn3:fix_flock_fallback_impl, r=cjgillot
m-ou-se Sep 1, 2021
494c563
Rollup merge of #88350 - programmerjake:add-ppc-cr-xer-clobbers, r=Am…
m-ou-se Sep 1, 2021
75b2ae5
Rollup merge of #88410 - camelid:fix-assoc-bold, r=GuillaumeGomez
m-ou-se Sep 1, 2021
bbc94ed
Rollup merge of #88525 - notriddle:notriddle/coherence-dyn-auto-trait…
m-ou-se Sep 1, 2021
59588a9
Rollup merge of #88542 - tavianator:readdir_r-errno, r=jyn514
m-ou-se Sep 1, 2021
f436b6d
Rollup merge of #88548 - inquisitivecrystal:intersperse, r=m-ou-se
m-ou-se Sep 1, 2021
d313529
Rollup merge of #88551 - inquisitivecrystal:unsafe_cell_raw_get, r=m-…
m-ou-se Sep 1, 2021
d7159bd
Add tests for implementors associated types display
GuillaumeGomez Aug 30, 2021
fba4149
Clean render_impl arguments
GuillaumeGomez Aug 31, 2021
3ed6c1d
Auto merge of #88556 - m-ou-se:rollup-q636wyd, r=m-ou-se
bors Sep 1, 2021
fc2a265
cleanup const generics FIXME
lcnr Sep 1, 2021
7207194
update FIXME
lcnr Sep 1, 2021
00ce166
Auto merge of #88395 - ricky26:llvm-submodule, r=nikic
bors Sep 1, 2021
6c9e708
`fmt::Formatter::pad`: don't call chars().count() more than one time
klensy Sep 1, 2021
f5f489b
fix clippy lints
klensy Sep 1, 2021
ad3407f
Auto merge of #88269 - prconrad:doctest-persist-binaries, r=jyn514
bors Sep 1, 2021
d18ff40
use the correct feature gate
lcnr Sep 1, 2021
bea3790
Update cargo, books
ehuss Sep 1, 2021
a5fd955
add regression test for issue 83190
lqd Sep 1, 2021
50171c3
Auto merge of #88563 - ehuss:update-cargo-books, r=ehuss
bors Sep 1, 2021
4553a4b
Remove redundant `Span` in `QueryJobInfo`
camelid Sep 1, 2021
74fb87e
Stop sorting bodies by span.
cjgillot Jul 16, 2021
26eeec0
Compute item_generics_num_lifetimes during resolution.
cjgillot Jul 14, 2021
6359780
Compute all_traits_impls during resolution.
cjgillot Jul 16, 2021
f8efe5d
Compute proc_macros in resolutions.
cjgillot Jul 16, 2021
92dae39
Remove implementors setting
GuillaumeGomez Sep 1, 2021
767edcf
Auto merge of #88490 - GuillaumeGomez:associated-types-implementors-d…
bors Sep 1, 2021
50983ba
rustdoc: Don't panic on ambiguous inherent associated types
camelid Sep 1, 2021
ff8c0ef
Fix drop handling for `if let` expressions
matthewjasper Sep 1, 2021
e3c71f1
Auto merge of #88522 - camelid:box-paren-output, r=jyn514
bors Sep 2, 2021
cc9bb15
Auto merge of #83342 - Count-Count:win-console-incomplete-utf8, r=m-o…
bors Sep 2, 2021
9da8e2a
remove redundant / misplaced sentence from docs
ast-ral Sep 2, 2021
727a4fc
Implement #88581
jhpratt Sep 2, 2021
b27ccbc
Auto merge of #87114 - cjgillot:abilint, r=estebank
bors Sep 2, 2021
fd5b40f
Remove TODO
matthewjasper Sep 2, 2021
9366dfd
Bless 32bit MIR opt tests
matthewjasper Sep 2, 2021
6492931
Auto merge of #88516 - matthiaskrgr:clippy_perf_end_august, r=jyn514,…
bors Sep 2, 2021
5464b2e
Remove optimization_fuel_crate from Session
bjorn3 Aug 30, 2021
c9abc7e
Remove print_fuel_crate field of Session
bjorn3 Aug 30, 2021
b86a2ee
Use in_incr_comp_dir_sess in cg_clif
bjorn3 Aug 30, 2021
74c7f12
Add explanation for ctfe_backtrace lock
bjorn3 Aug 31, 2021
9940758
expand: Treat more macro calls as statement macro calls
petrochenkov Aug 26, 2021
a079ae2
Correct doc comments inside `use_expr_visitor.rs`
xFrednet Sep 2, 2021
fcce644
Auto merge of #88530 - bjorn3:shrink_session, r=cjgillot
bors Sep 2, 2021
b5f680e
do not resolve instances for trait fn ids
b-naber Sep 2, 2021
f825d6c
add test
b-naber Sep 2, 2021
f2d9ee9
Preserve most sub-obligations in the projection cache
Aaron1011 May 31, 2021
1cf8fdd
Auto merge of #87580 - ChrisDenton:win-arg-parse-2008, r=m-ou-se
bors Sep 2, 2021
611191f
Report cycle error using 'deepest' obligation in the cycle
Aaron1011 Aug 27, 2021
e50069f
Rollup merge of #88177 - joshtriplett:stabilize-chroot, r=m-ou-se
m-ou-se Sep 2, 2021
8fd1bf3
Rollup merge of #88505 - ibraheemdev:use-unwrap-unchecked, r=kennytm
m-ou-se Sep 2, 2021
ea82d06
Rollup merge of #88512 - m-ou-se:array-into-iter-deref-stuff, r=estebank
m-ou-se Sep 2, 2021
afdaa2e
Rollup merge of #88532 - ptrojahn:single_use, r=davidtwco
m-ou-se Sep 2, 2021
ffbce26
Rollup merge of #88543 - m-ou-se:closure-migration-macro-block-fragme…
m-ou-se Sep 2, 2021
0d105c0
Rollup merge of #88560 - klensy:formatter-pad-shrink, r=m-ou-se
m-ou-se Sep 2, 2021
e248c4d
Rollup merge of #88565 - lqd:issue-83190, r=spastorino
m-ou-se Sep 2, 2021
f419334
Rollup merge of #88567 - camelid:query-job-info, r=cjgillot
m-ou-se Sep 2, 2021
73162aa
Rollup merge of #88573 - camelid:rustdoc-assoc-panic, r=GuillaumeGomez
m-ou-se Sep 2, 2021
2159c5d
Rollup merge of #88582 - jhpratt:int_roundings, r=joshtriplett
m-ou-se Sep 2, 2021
8f88d44
Rollup merge of #88589 - xFrednet:00000-correct-comment-to-doc, r=pet…
m-ou-se Sep 2, 2021
c082e15
Rollup merge of #88592 - b-naber:region_substs, r=oli-obk
m-ou-se Sep 2, 2021
5e3cd6a
Bless ast-json tests.
cjgillot Sep 1, 2021
b834c4c
Auto merge of #88596 - m-ou-se:rollup-cidzt4v, r=m-ou-se
bors Sep 2, 2021
371f3cd
Auto merge of #85868 - Aaron1011:projection-cache, r=jackh726
bors Sep 2, 2021
97f2698
Auto merge of #88363 - michaelwoerister:remapped-diagnostics, r=estebank
bors Sep 3, 2021
29d8fb7
Auto merge of #88386 - estebank:unmatched-delims, r=jackh726
bors Sep 3, 2021
fbdff7f
Auto merge of #88428 - petrochenkov:stmtid, r=Aaron1011
bors Sep 3, 2021
e4e4179
Auto merge of #86454 - tlyu:refactor-unsized-suggestions, r=davidtwco
bors Sep 3, 2021
5ea45f3
Update outdated docs of array::IntoIter::new.
m-ou-se Sep 3, 2021
00c8da1
Update primitive docs for rust 2021.
m-ou-se Sep 3, 2021
cb2be32
Rollup merge of #88202 - azdavis:master, r=jyn514
m-ou-se Sep 3, 2021
3ce205a
Rollup merge of #88483 - jethrogb:jb/llvm-libunwind-self-contained, r…
m-ou-se Sep 3, 2021
80b572b
Rollup merge of #88507 - atsuzaki:slice-fill-maybeuninit-test, r=Ralf…
m-ou-se Sep 3, 2021
4b5da4a
Rollup merge of #88557 - lcnr:const-generics-cleanup, r=BoxyUwU
m-ou-se Sep 3, 2021
01775b6
Rollup merge of #88579 - ast-ral:master, r=m-ou-se
m-ou-se Sep 3, 2021
e13b9c9
Rollup merge of #88610 - m-ou-se:array-into-iter-docs, r=Amanieu
m-ou-se Sep 3, 2021
2ce74b0
Rollup merge of #88613 - m-ou-se:array-docs-2021, r=Amanieu
m-ou-se Sep 3, 2021
c5799b2
Auto merge of #88618 - m-ou-se:rollup-6tss5z6, r=m-ou-se
bors Sep 3, 2021
577a76f
Auto merge of #88597 - cjgillot:lower-global, r=petrochenkov
bors Sep 3, 2021
4878034
Auto merge of #88454 - devnexen:sunos_asan, r=wesleywiser
bors Sep 3, 2021
4e2fd4f
Update coverage tests
matthewjasper Sep 3, 2021
b7404c8
Auto merge of #88572 - matthewjasper:if-let-scoping-fix, r=oli-obk
bors Sep 3, 2021
03c775c
Auto merge of #88482 - athei:add-import-test, r=the8472
bors Sep 3, 2021
f7c3cb0
Skip single use lifetime lint for generated opaque types
sapessi Oct 16, 2020
30f2695
Updated test comment
sapessi Sep 4, 2021
ce33e77
Address CR comments
sapessi Sep 4, 2021
fc24ad0
Merge local branch with master
sapessi Sep 4, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4

[*.md]
# double whitespace at end of line
# denotes a line break in Markdown
trim_trailing_whitespace = false

[*.yml]
indent_size = 2
9 changes: 6 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
* text=auto eol=lf
*.cpp rust
*.h rust
*.rs rust
*.rs rust diff=rust
*.fixed linguist-language=Rust
*.mir linguist-language=Rust
src/etc/installer/gfx/* binary
*.woff binary
src/vendor/** -text
Cargo.lock linguist-generated=false
config.toml.example linguist-language=TOML

# Older git versions try to fix line endings on images, this prevents it.
# Older git versions try to fix line endings on images and fonts, this prevents it.
*.png binary
*.ico binary
*.woff binary
*.woff2 binary
7 changes: 5 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Rust Programming Language Forum
- name: Question
url: https://users.rust-lang.org
about: Please ask and answer questions about Rust here.
about: Please ask and answer questions about Rust on the user forum.
- name: Feature Request
url: https://internals.rust-lang.org/
about: Please discuss language feature requests on the internals forum.
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/diagnostics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: Diagnostic issue
about: Create a bug report or feature request for a change to `rustc`'s error output
labels: A-diagnostics, T-compiler
---
<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.

If you cannot produce a minimal reproduction case (something that would work in
isolation), please provide the steps or even link to a repository that causes
the problematic output to occur.
-->

Given the following code: <!-- Please provide a link to play.rust-lang.org -->

```rust
<code>
```

The current output is:

```
<rustc output>
```

<!-- The following is not always necessary. -->
Ideally the output should look like:

```
<proposed output>
```

<!--
If the problem is not self-explanatory, please provide a rationale for the
change.
-->

<!--
If dramatically different output is caused by small changes, consider also
adding them here.

If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions. The output might also be
different depending on the Edition.
-->
83 changes: 83 additions & 0 deletions .github/ISSUE_TEMPLATE/library_tracking_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
---
name: Library Tracking Issue
about: A tracking issue for an unstable library feature.
title: Tracking Issue for XXX
labels: C-tracking-issue, T-libs-api
---
<!--
Thank you for creating a tracking issue!

Tracking issues are for tracking a feature from implementation to stabilization.

Make sure to include the relevant RFC for the feature if it has one.

If the new feature is small, it may be fine to skip the RFC process. In that
case, you can use use `issue = "none"` in your initial implementation PR. The
reviewer will ask you to open a tracking issue if they agree your feature can be
added without an RFC.
-->

Feature gate: `#![feature(...)]`

This is a tracking issue for ...

<!--
Include a short description of the feature.
-->

### Public API

<!--
For most library features, it'd be useful to include a summarized version of the public API.
(E.g. just the public function signatures without their doc comments or implementation.)
-->

```rust
// core::magic

pub struct Magic;

impl Magic {
pub fn magic(self);
}
```

### Steps / History

<!--
For larger features, more steps might be involved.
If the feature is changed later, please add those PRs here as well.
-->

- [ ] Implementation: #...
- [ ] Final comment period (FCP)
- [ ] Stabilization PR

<!--
Once the feature has gone through a few release cycles and there are no
unresolved questions left, the feature might be ready for stabilization.

If this feature didn't go through the RFC process, a final comment period
(FCP) is always needed before stabilization. This works as follows:

A library API team member can kick off the stabilization process, at which point
the rfcbot will ask all the team members to verify they agree with
stabilization. Once enough members agree and there are no concerns, the final
comment period begins: this issue will be marked as such and will be listed
in the next This Week in Rust newsletter. If no blocking concerns are raised in
that period of 10 days, a stabilzation PR can be opened by anyone.
-->

### Unresolved Questions

<!--
Include any open questions that need to be answered before the feature can be
stabilised. If multiple (unrelated) big questions come up, it can be a good idea
to open a separate issue for each, to make it easier to keep track of the
discussions.

It's useful to link any relevant discussions and conclusions (whether on GitHub,
Zulip, or the internals forum) here.
-->

- None yet.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/regression.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Regression
about: Report something that unexpectedly changed between Rust versions.
labels: C-bug regression-untriaged
labels: C-bug, regression-untriaged
---
<!--
Thank you for filing a regression report! 🐛 A regression is something that changed between versions of Rust but was not supposed to.
Expand Down
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/tracking_issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ title: Tracking Issue for XXX
labels: C-tracking-issue
---
<!--
NOTE: For library features, please use the "Library Tracking Issue" template instead.

Thank you for creating a tracking issue! 📜 Tracking issues are for tracking a
feature from implementation to stabilisation. Make sure to include the relevant
RFC for the feature if it has one. Otherwise provide a short summary of the
Expand Down
Loading