-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
A-driverArea: Driver or something related to the internal working of a driver.Area: Driver or something related to the internal working of a driver.C-bugCategory: Something isn't workingCategory: Something isn't workingD-rustc-driverDriver: Rustc DriverDriver: Rustc Driver
Milestone
Description
Inferred lifetimes, like the '_ in Cow<'_, str>, are currently not listed in the syntactic representation of generic args, even though it should be. It's probably a bug in MarkerConverterInner::to_lifetime
Code to test in marker_uilints:
use std::borrow::Cow;
// lifetime is missing:
pub fn print_me_cow(_cow: Cow<'_, str>) {}
// named lifetiems are listed:
pub fn print_me_cow<'a>(_cow: Cow<'a, str>) {}Metadata
Metadata
Assignees
Labels
A-driverArea: Driver or something related to the internal working of a driver.Area: Driver or something related to the internal working of a driver.C-bugCategory: Something isn't workingCategory: Something isn't workingD-rustc-driverDriver: Rustc DriverDriver: Rustc Driver