[geany/geany] e4c6aa: Rust: Add a test for leading 'priv'.

SiegeLord git-noreply at xxxxx
Wed Apr 2 17:42:30 UTC 2014


Branch:      refs/heads/master
Author:      SiegeLord <slabode at aim.com>
Committer:   SiegeLord <slabode at aim.com>
Date:        Wed, 02 Apr 2014 17:42:30 UTC
Commit:      e4c6aa3d9ca9a4814b207cadb9b7f4ffab142395
             https://github.com/geany/geany/commit/e4c6aa3d9ca9a4814b207cadb9b7f4ffab142395

Log Message:
-----------
Rust: Add a test for leading 'priv'.


Modified Paths:
--------------
    tests/ctags/test_input.rs

Modified: tests/ctags/test_input.rs
3 files changed, 2 insertions(+), 1 deletions(-)
===================================================================
@@ -32,8 +32,9 @@ pub struct B
 
 static size: uint = 1;
 
+#[cfg(test)]
 struct S1 {
-	only_field: [int, ..size]
+	priv only_field: [int, ..size]
 }
 
 macro_rules! test_macro



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list