-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
P-lowLow priorityLow priority
Description
UPDATE: Updating this issue to reflect current thinking, which is that inference should issue a warning when a lifetime parameter is inferred to be bivariant (which implies that the parameter is unused).
ORIGINAL: It's sometimes necessary to specify a lifetime on an object that doesn't contain borrowed pointers, because lifetime dependencies can be required for safety outside of Rust's borrowed pointer system. A dummy borrowed pointer member is a workaround, but wasteful.
Metadata
Metadata
Assignees
Labels
P-lowLow priorityLow priority