Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Expand #[derive(..)]s in the InvocationCollector #39391

Closed
wants to merge 18 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Split derives in test because one triggers before the other
keeperofdakeys committed Jan 31, 2017
commit 2dd9dc206eb2041b2ca70c1e7f338cceda548513
8 changes: 5 additions & 3 deletions src/test/compile-fail/macros-nonfatal-errors.rs
Original file line number Diff line number Diff line change
@@ -14,9 +14,11 @@
#![feature(asm)]
#![feature(trace_macros, concat_idents)]

#[derive(Default, //~ ERROR
Zero)] //~ ERROR
enum CantDeriveThose {}
#[derive(Zero)] //~ ERROR
struct CantDeriveThis;

#[derive(Default)]
enum OrDeriveThis {}

fn main() {
doesnt_exist!(); //~ ERROR