]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/clean/inline.rs
Use Names in path fragments and MacroDef
[rust.git] / src / librustdoc / clean / inline.rs
index 930bc831028f03df0a4ecef999916b2d289bbe81..21895301a6ce8d8902f4dfa746c623f45c6cf0ee 100644 (file)
@@ -43,7 +43,7 @@
 ///
 /// The returned value is `None` if the `id` could not be inlined, and `Some`
 /// of a vector of items if it was successfully expanded.
-pub fn try_inline(cx: &DocContext, id: ast::NodeId, into: Option<ast::Ident>)
+pub fn try_inline(cx: &DocContext, id: ast::NodeId, into: Option<ast::Name>)
                   -> Option<Vec<clean::Item>> {
     let tcx = match cx.tcx_opt() {
         Some(tcx) => tcx,