Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
4a15a25
min_const_generics: allow ty param in repeat expr
lcnr Oct 22, 2020
83ecbb4
add tests for self with const params
lcnr Oct 23, 2020
df59a44
rustc_span: improve bounds checks in byte_pos_to_line_and_col
tgnottingham Sep 21, 2020
650e3cb
Prefer new associated numeric consts in float error messages
0xPoe Oct 27, 2020
f0ae24e
Handle type errors in closure/generator upvar_tys
arora-aman Oct 27, 2020
47dad31
rustc_span: represent line bounds with Range
tgnottingham Oct 27, 2020
eb8e8bd
Add UI test for invalid values for bool & char
JulianKnodt Oct 26, 2020
5229571
Address comments
roxelo Oct 27, 2020
a3bff69
Use unwrapDIPtr because the Scope may be passed as None
danielframpton Oct 28, 2020
86d6920
Change as_str → to_string in proc_macro::Ident::span() docs
est31 Oct 28, 2020
0217edb
Clean up intra-doc links in `std::path`
camelid Oct 28, 2020
c90ef97
fix a comment in validity check
RalfJung Oct 28, 2020
9e60f45
Add const generics tests for supertraits + dyn traits.
hameerabbasi Oct 28, 2020
6c73adf
Adjust turbofish help message for const generics
varkor Oct 28, 2020
a6d01da
Remove irrelevant FIXME
varkor Oct 28, 2020
fab79c2
Extend test to cover dyn methods/functions.
hameerabbasi Oct 28, 2020
22060fa
Assert in every case.
hameerabbasi Oct 28, 2020
f553c22
Fix typo "compiltest"
GuillaumeGomez Oct 28, 2020
0617156
Inline NonZeroN::from(n)
petertodd Oct 28, 2020
23167cb
Update books
ehuss Oct 28, 2020
72016f4
Update cargo
ehuss Oct 28, 2020
0fabbf9
Fix typos
bugadani Oct 28, 2020
32b5688
Rollup merge of #78224 - lcnr:repeat-expr, r=varkor
jonas-schievink Oct 28, 2020
09346c6
Rollup merge of #78423 - tgnottingham:caching_source_map_bounds_check…
jonas-schievink Oct 28, 2020
7e3ec99
Rollup merge of #78428 - JulianKnodt:invalid_patterns, r=lcnr
jonas-schievink Oct 28, 2020
018fc6b
Rollup merge of #78431 - Rustin-Liu:rustin-patch-lint, r=estebank
jonas-schievink Oct 28, 2020
d354dff
Rollup merge of #78432 - sexxi-goose:fix-77993-take3, r=nikomatsakis
jonas-schievink Oct 28, 2020
b4a2a55
Rollup merge of #78460 - varkor:turbofish-string-generic, r=lcnr
jonas-schievink Oct 28, 2020
49729ce
Rollup merge of #78462 - danielframpton:fixnullisa, r=nagisa
jonas-schievink Oct 28, 2020
9943396
Rollup merge of #78465 - est31:proc_macro_to_string, r=petrochenkov
jonas-schievink Oct 28, 2020
cf1b358
Rollup merge of #78470 - camelid:fixup-std-path-intra-doc, r=jyn514
jonas-schievink Oct 28, 2020
645c007
Rollup merge of #78475 - RalfJung:validity-comment, r=oli-obk
jonas-schievink Oct 28, 2020
c9fe6bb
Rollup merge of #78478 - hameerabbasi:const-generics-supertraits, r=lcnr
jonas-schievink Oct 28, 2020
df69809
Rollup merge of #78487 - rust-lang:GuillaumeGomez-patch-1, r=stevekla…
jonas-schievink Oct 28, 2020
c25149b
Rollup merge of #78491 - petertodd:2020-inline-from-nonzero, r=sfackler
jonas-schievink Oct 28, 2020
d84a458
Rollup merge of #78492 - ehuss:update-books, r=ehuss
jonas-schievink Oct 28, 2020
400c486
Rollup merge of #78493 - ehuss:update-cargo, r=ehuss
jonas-schievink Oct 28, 2020
520876b
Rollup merge of #78494 - bugadani:typo2, r=jonas-schievink
jonas-schievink Oct 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler/rustc_mir/src/dataflow/impls/borrows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl<'a, 'tcx> Borrows<'a, 'tcx> {
//
// We are careful always to call this function *before* we
// set up the gen-bits for the statement or
// termanator. That way, if the effect of the statement or
// terminator. That way, if the effect of the statement or
// terminator *does* introduce a new loan of the same
// region, then setting that gen-bit will override any
// potential kill introduced here.
Expand Down
4 changes: 2 additions & 2 deletions compiler/rustc_mir/src/dataflow/impls/liveness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::dataflow::{AnalysisDomain, Backward, GenKill, GenKillAnalysis};
///
/// This analysis considers references as being used only at the point of the
/// borrow. In other words, this analysis does not track uses because of references that already
/// exist. See [this `mir-datalow` test][flow-test] for an example. You almost never want to use
/// exist. See [this `mir-dataflow` test][flow-test] for an example. You almost never want to use
/// this analysis without also looking at the results of [`MaybeBorrowedLocals`].
///
/// [`MaybeBorrowedLocals`]: ../struct.MaybeBorrowedLocals.html
Expand Down Expand Up @@ -134,7 +134,7 @@ impl DefUse {

// `MutatingUseContext::Call` and `MutatingUseContext::Yield` indicate that this is the
// destination place for a `Call` return or `Yield` resume respectively. Since this is
// only a `Def` when the function returns succesfully, we handle this case separately
// only a `Def` when the function returns successfully, we handle this case separately
// in `call_return_effect` above.
PlaceContext::MutatingUse(MutatingUseContext::Call | MutatingUseContext::Yield) => None,

Expand Down