mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Add a known that this is a known limitation
This commit is contained in:
parent
cececca7c7
commit
3c71fafd6d
@ -69,6 +69,7 @@ impl<'tcx> NiceRegionError<'_, 'tcx> {
|
|||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
err.note("this is a known limitation that will be removed in the future (see issue #100013 <https://github.com/rust-lang/rust/issues/100013> for more information)");
|
||||||
Some(err)
|
Some(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ note: ...must outlive the lifetime defined here
|
|||||||
|
|
|
|
||||||
LL | let x = None::<I::Future<'_, '_>>; // a type referencing GAT
|
LL | let x = None::<I::Future<'_, '_>>; // a type referencing GAT
|
||||||
| ^^
|
| ^^
|
||||||
|
= note: this is a known limitation that will be removed in the future (see issue #100013 <https://github.com/rust-lang/rust/issues/100013> for more information)
|
||||||
|
|
||||||
error: lifetime bound not satisfied
|
error: lifetime bound not satisfied
|
||||||
--> $DIR/issue-100013.rs:23:5
|
--> $DIR/issue-100013.rs:23:5
|
||||||
@ -40,6 +41,7 @@ note: ...must outlive the lifetime defined here
|
|||||||
|
|
|
|
||||||
LL | fn call2<'a, 'b, I: FutureIterator>() -> impl Send {
|
LL | fn call2<'a, 'b, I: FutureIterator>() -> impl Send {
|
||||||
| ^^
|
| ^^
|
||||||
|
= note: this is a known limitation that will be removed in the future (see issue #100013 <https://github.com/rust-lang/rust/issues/100013> for more information)
|
||||||
|
|
||||||
error: lifetime may not live long enough
|
error: lifetime may not live long enough
|
||||||
--> $DIR/issue-100013.rs:25:17
|
--> $DIR/issue-100013.rs:25:17
|
||||||
@ -74,6 +76,7 @@ note: ...must outlive the lifetime defined here
|
|||||||
|
|
|
|
||||||
LL | fn call3<'a: 'b, 'b, I: FutureIterator>() -> impl Send {
|
LL | fn call3<'a: 'b, 'b, I: FutureIterator>() -> impl Send {
|
||||||
| ^^
|
| ^^
|
||||||
|
= note: this is a known limitation that will be removed in the future (see issue #100013 <https://github.com/rust-lang/rust/issues/100013> for more information)
|
||||||
|
|
||||||
error: aborting due to 4 previous errors
|
error: aborting due to 4 previous errors
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user