diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-08-03 11:46:25 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-08-03 11:47:08 -0700 |
| commit | 4bfd4fb8ea3000af665de8be5f72f0712668aa05 (patch) | |
| tree | 1d44385d5075833e177e1f5914f5d00ef062812c /src | |
| parent | 903068c13292200039d6738c24007e68d349a25d (diff) | |
| download | rust-4bfd4fb8ea3000af665de8be5f72f0712668aa05.tar.gz rust-4bfd4fb8ea3000af665de8be5f72f0712668aa05.zip | |
test: Remove a fixed-length string from a test
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/compile-fail/non-const.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/compile-fail/non-const.rs b/src/test/compile-fail/non-const.rs index 885ac1a8f94..29f6e1f7be2 100644 --- a/src/test/compile-fail/non-const.rs +++ b/src/test/compile-fail/non-const.rs @@ -25,6 +25,5 @@ fn main() { foo(@mut 1); //~ ERROR missing `const` foo(r(1)); // this is okay now. foo(r2(@mut 1)); //~ ERROR missing `const` - foo("123"); foo({f: {mut f: 1}}); //~ ERROR missing `const` } |
