// Copyright 2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 or the MIT license // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. #[crate_id="foo#0.1"]; /// The '# ' lines should be removed from the output, but the #[deriving] should be /// retained. /// /// ```rust /// mod to_make_deriving_work { // FIXME #4913 /// /// # #[deriving(Eq)] // invisible /// # struct Foo; // invisible /// /// #[deriving(Eq)] // Bar /// struct Bar(Foo); /// /// fn test() { /// let x = Bar(Foo); /// assert!(x == x); // check that the derivings worked /// } /// /// } /// ``` pub fn foo() {}