about summary refs log tree commit diff
path: root/src/test/compile-fail/deriving-meta-unknown-trait.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-17/+0
2017-02-05Move derive macro expansion into the MacroExpanderJosh Driver-1/+1
This removes the expand_derives function, and sprinkles the functionality throughout the Invocation Collector, Expander and Resolver.
2016-10-27deprecation message for custom deriveNick Cameron-1/+3
2015-03-06Make #[derive(Anything)] into sugar for #[derive_Anything]Keegan McAllister-1/+2
This is a hack, but I don't think we can do much better as long as `derive` is running at the syntax expansion phase. If the custom_derive feature gate is enabled, this works with user-defined traits and syntax extensions. Without the gate, you can't use e.g. #[derive_Clone] directly, so this does not change the stable language. This commit also cleans up the deriving code somewhat, and forbids some previously-meaningless attribute syntax. For this reason it's technically a [breaking-change]
2015-01-02Use `derive` rather than `deriving` in testsNick Cameron-1/+1
2013-03-12syntax: implement #[deriving] meta-attributeAndrew Paseltiner-0/+14