Fix warnings in substrate (#1523)

* Fix warnings in substrate

* More warnings removed and wasm updated

* Fixes error on stable and grumbles

* Update wasm files

* Add links to the github issue for replacing `error-chain`
This commit is contained in:
Bastian Köcher
2019-01-24 16:10:07 +01:00
committed by GitHub
parent e5285e8a8d
commit 5be237030d
13 changed files with 35 additions and 21 deletions
+2 -1
View File
@@ -268,7 +268,7 @@ macro_rules! __events_to_metadata {
}
}
/// Constructs an Event type for a runtime. This is usually called automatically by the
/// Constructs an Event type for a runtime. This is usually called automatically by the
/// construct_runtime macro. See also __create_decl_macro.
#[macro_export]
macro_rules! impl_outer_event {
@@ -441,6 +441,7 @@ macro_rules! __impl_outer_event_json_metadata {
#[allow(dead_code)]
mod tests {
use super::*;
use serde_derive::Serialize;
mod system {
pub trait Trait {
-1
View File
@@ -38,7 +38,6 @@ extern crate substrate_inherents as inherents;
#[macro_use]
extern crate pretty_assertions;
#[cfg(feature = "std")]
#[macro_use]
extern crate serde_derive;
#[cfg(test)]
#[macro_use]