diff options
| author | bors <bors@rust-lang.org> | 2015-02-09 19:01:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-02-09 19:01:37 +0000 |
| commit | 134e00be7751a9fdc820981962e4fd7ea97bfff6 (patch) | |
| tree | 84ef58cd6e5aeddb28618679b562181486f664a7 /src/libsyntax | |
| parent | 0ba9e1fa52627404a1e5b90f745f96a872a0c564 (diff) | |
| parent | f0e1e09dd90ee7ac9360f6c97d6b49ded8d9a7f2 (diff) | |
| download | rust-134e00be7751a9fdc820981962e4fd7ea97bfff6.tar.gz rust-134e00be7751a9fdc820981962e4fd7ea97bfff6.zip | |
Auto merge of #21876 - nick29581:driver-args, r=huonw
This allows people to write tools which are drop-in replacements for rustc by implementing `CompilerCalls` and three lines of code, rather than having to copy+paste a bunch of args parsing code. r? @alexcrichton
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/diagnostics/registry.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/diagnostics/registry.rs b/src/libsyntax/diagnostics/registry.rs index 4caef247aeb..62d48189c43 100644 --- a/src/libsyntax/diagnostics/registry.rs +++ b/src/libsyntax/diagnostics/registry.rs @@ -10,6 +10,7 @@ use std::collections::HashMap; +#[derive(Clone)] pub struct Registry { descriptions: HashMap<&'static str, &'static str> } |
