mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 16:15:03 +00:00
Adjust comment
This commit is contained in:
parent
51b527266e
commit
b3cf448761
@ -628,8 +628,8 @@ fn report_extra_impl_lifetimes<'tcx>(cx: &LateContext<'tcx>, impl_: &'tcx Impl<'
|
|||||||
|
|
||||||
// An `impl` lifetime is elidable if it satisfies the following conditions:
|
// An `impl` lifetime is elidable if it satisfies the following conditions:
|
||||||
// - It is used exactly once.
|
// - It is used exactly once.
|
||||||
// - That single use is not in a `GenericArg` in a `WherePredicate`. (Note that a `GenericArg` is
|
// - That single use is not in `GenericArgs` in a `WherePredicate`. (Note that `GenericArgs` are
|
||||||
// different from a `GenericParam`.)
|
// different from `GenericParam`s.)
|
||||||
fn report_elidable_impl_lifetimes<'tcx>(
|
fn report_elidable_impl_lifetimes<'tcx>(
|
||||||
cx: &LateContext<'tcx>,
|
cx: &LateContext<'tcx>,
|
||||||
impl_: &'tcx Impl<'_>,
|
impl_: &'tcx Impl<'_>,
|
||||||
|
Loading…
Reference in New Issue
Block a user