8000 Rollup of 7 pull requests by Mark-Simulacrum · Pull Request #67384 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Rollup of 7 pull requests #67384

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
Closed
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
3980342
Use structured suggestion for disambiguating method calls
estebank Dec 4, 2019
8c4f1d5
review comments
estebank Dec 12, 2019
6c7c512
Fix the configure.py TOML field for a couple LLVM options
cuviper Dec 13, 2019
094177e
Add Rvalue::AddressOf to MIR
matthewjasper Dec 23, 2018
12f3e24
Start generating AddressOf rvalues in MIR
matthewjasper Apr 20, 2019
623aa82
Make slice drop shims use AddressOf
matthewjasper Apr 20, 2019
e57096d
Add mir opt test for AddressOf
matthewjasper Apr 20, 2019
6f6b372
Check const-propagation of borrows of unsized places
matthewjasper Sep 17, 2019
5eb17c3
Update test now that reference to pointer casts have more checks
matthewjasper Sep 17, 2019
3594d8b
make htons const fn
tesuji Dec 15, 2019
68fed49
Add more tests for raw_ref_op
matthewjasper Sep 18, 2019
f9f85b1
Fix comment ordering
matthewjasper Dec 2, 2019
f365dbc
Set release channel on non-dist builders
Mark-Simulacrum Dec 16, 2019
985127c
Implement `finish_non_exhaustive` for `DebugStruct`.
richard-uk1 Nov 24, 2019
7f00a5f
Revert "Auto merge of #67362 - Mark-Simulacrum:par-4-default, r=alexc…
Mark-Simulacrum Dec 17, 2019
a50f440
Rollup merge of #64588 - matthewjasper:mir-address-of, r=oli-obk
Mark-Simulacrum Dec 18, 2019
624694d
Rollup merge of #66716 - derekdreery:debug_non_exhaustive, r=dtolnay
Mark-Simulacrum Dec 18, 2019
67d560b
Rollup merge of #67127 - estebank:disambiguate-suggestion, r=varkor
Mark-Simulacrum Dec 18, 2019
743869b
Rollup merge of #67286 - cuviper:configure-llvm, r=Dylan-DPC
Mark-Simulacrum Dec 18, 2019
8c05bb6
Rollup merge of #67321 - lzutao:htons, r=dtolnay
Mark-Simulacrum Dec 18, 2019
c31110d
Rollup merge of #67351 - Mark-Simulacrum:always-channel, r=pietroalbini
Mark-Simulacrum Dec 18, 2019
2e6b327
Rollup merge of #67379 - Mark-Simulacrum:revert-par-4-default, r=Mark…
Mark-Simulacrum Dec 18, 2019
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
Prev Previous commit
Next Next commit
Fix comment ordering
  • Loading branch information
matthewjasper committed Dec 15, 2019
commit f9f85b18da3ceddce009ce6a9e3b4f080274d434
8 changes: 4 additions & 4 deletions src/libsyntax/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -728,13 +728,13 @@ impl Mutability {
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
#[derive(RustcEncodable, RustcDecodable, HashStable_Generic)]
pub enum BorrowKind {
/// A raw borrow, `&raw const $expr` or `&raw mut $expr`.
/// The resulting type is either `*const T` or `*mut T`
/// where `T = typeof($expr)`.
Ref,
/// A normal borrow, `&$expr` or `&mut $expr`.
/// The resulting type is either `&'a T` or `&'a mut T`
/// where `T = typeof($expr)` and `'a` is some lifetime.
Ref,
/// A raw borrow, `&raw const $expr` or `&raw mut $expr`.
/// The resulting type is either `*const T` or `*mut T`
/// where `T = typeof($expr)`.
Raw,
}

Expand Down
0