-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #103105 - JohnTitor:rollup-x4ivrix, r=JohnTitor
Rollup of 6 pull requests Successful merges: - #101717 (Add documentation about the memory layout of `UnsafeCell<T>`) - #102023 (Add MaybeUninit array transpose From impls) - #103033 (Update pkg-config) - #103080 (pretty: fix to print some lifetimes on HIR pretty-print) - #103082 (Surround type with backticks) - #103088 (Fix settings page) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
- Loading branch information
Showing
9 changed files
with
137 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#[prelude_import] | ||
use ::std::prelude::rust_2015::*; | ||
#[macro_use] | ||
extern crate std; | ||
// Test to print lifetimes on HIR pretty-printing. | ||
|
||
// pretty-compare-only | ||
// pretty-mode:hir | ||
// pp-exact:issue-85089.pp | ||
|
||
trait A<'x> { } | ||
trait B<'x> { } | ||
|
||
struct Foo<'b> { | ||
bar: &'b dyn for<'a> A<'a>, | ||
} | ||
|
||
impl <'a> B<'a> for dyn for<'b> A<'b> { } | ||
|
||
impl <'a> A<'a> for Foo<'a> { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Test to print lifetimes on HIR pretty-printing. | ||
|
||
// pretty-compare-only | ||
// pretty-mode:hir | ||
// pp-exact:issue-85089.pp | ||
|
||
trait A<'x> {} | ||
trait B<'x> {} | ||
|
||
struct Foo<'b> { | ||
pub bar: &'b dyn for<'a> A<'a>, | ||
} | ||
|
||
impl<'a> B<'a> for dyn for<'b> A<'b> {} | ||
|
||
impl<'a> A<'a> for Foo<'a> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters