Remove ResolvedPath.did
This commit is contained in:
parent
db4a06e9bd
commit
43651125ee
9 changed files with 29 additions and 30 deletions
|
@ -762,8 +762,9 @@ fn fmt_type<'cx>(
|
|||
|
||||
match *t {
|
||||
clean::Generic(name) => write!(f, "{}", name),
|
||||
clean::ResolvedPath { did, ref path } => {
|
||||
clean::ResolvedPath { ref path } => {
|
||||
// Paths like `T::Output` and `Self::Output` should be rendered with all segments.
|
||||
let did = path.def_id();
|
||||
resolved_path(f, did, path, path.is_assoc_ty(), use_absolute, cx)
|
||||
}
|
||||
clean::DynTrait(ref bounds, ref lt) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue