diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-28 11:10:15 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-31 15:47:37 -0700 |
| commit | 9aa4a949530afe44109568c40539da44f3d40ee9 (patch) | |
| tree | 194baa441ef704ce512fa92cc3a4c5f7544b5949 /src/compiletest/errors.rs | |
| parent | d0a80cca6c433e76daad13f7308a3e33abca77e0 (diff) | |
| download | rust-9aa4a949530afe44109568c40539da44f3d40ee9.tar.gz rust-9aa4a949530afe44109568c40539da44f3d40ee9.zip | |
compiletest: Switch field privacy where necessary
Diffstat (limited to 'src/compiletest/errors.rs')
| -rw-r--r-- | src/compiletest/errors.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/compiletest/errors.rs b/src/compiletest/errors.rs index 285bad0fc4b..42b756271d4 100644 --- a/src/compiletest/errors.rs +++ b/src/compiletest/errors.rs @@ -10,7 +10,11 @@ use std::io::{BufferedReader, File}; -pub struct ExpectedError { line: uint, kind: ~str, msg: ~str } +pub struct ExpectedError { + pub line: uint, + pub kind: ~str, + pub msg: ~str, +} // Load any test directives embedded in the file pub fn load_errors(testfile: &Path) -> Vec<ExpectedError> { |
