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:
parent
6950f68870
commit
2b9076ee19
10 changed files with 97 additions and 8 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue