1
Fork 0

rustdoc: Encode ABI in all methods

This commit ensures that the ABI of functions is propagated all the way through
to the documentation.

Closes #22038
This commit is contained in:
Alex Crichton 2015-04-07 14:22:55 -07:00
parent 6950f68870
commit 2b9076ee19
10 changed files with 97 additions and 8 deletions

View file

@ -15,6 +15,7 @@ pub use self::TypeBound::*;
use syntax;
use syntax::codemap::Span;
use syntax::abi;
use syntax::ast;
use syntax::attr;
use syntax::ast::{Ident, NodeId};
@ -134,6 +135,7 @@ pub struct Function {
pub unsafety: ast::Unsafety,
pub whence: Span,
pub generics: ast::Generics,
pub abi: abi::Abi,
}
pub struct Typedef {