-
Notifications
You must be signed in to change notification settings - Fork 12.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #104639, find the right lower bound region in the scenario of par…
…tial order relations
- Loading branch information
1 parent
11432fe
commit b0d39c6
Showing
2 changed files
with
17 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// edition:2018 | ||
// check-pass | ||
|
||
#![allow(dead_code)] | ||
async fn fail<'a, 'b, 'c>(_: &'static str) where 'a: 'c, 'b: 'c, {} | ||
async fn pass<'a, 'c, 'b>(_: &'static str) where 'a: 'c, 'b: 'c, {} | ||
async fn pass2<'a, 'b, 'c>(_: &'static str) where 'a: 'c, 'b: 'c, 'c: 'a, {} | ||
async fn pass3<'a, 'b, 'c>(_: &'static str) where 'a: 'b, 'b: 'c, 'c: 'a, {} | ||
|
||
fn main() { } |