diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-06-05 15:53:17 -0700 | 
|---|---|---|
| committer | Corey Richardson <corey@octayn.net> | 2013-06-28 10:44:15 -0400 | 
| commit | 1eec3bba13fef50324d1a7542713b3189a627547 (patch) | |
| tree | fa7f486ccaf1d14725e2615ab978acf64ce76c9e /src/test/compile-fail/mutable-enum.rs | |
| parent | d350981c0e8daa778d9760ba0e19b3157026e743 (diff) | |
| download | rust-1eec3bba13fef50324d1a7542713b3189a627547.tar.gz rust-1eec3bba13fef50324d1a7542713b3189a627547.zip | |
librustc: Rename Const to Freeze
Diffstat (limited to 'src/test/compile-fail/mutable-enum.rs')
| -rw-r--r-- | src/test/compile-fail/mutable-enum.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/test/compile-fail/mutable-enum.rs b/src/test/compile-fail/mutable-enum.rs index 2368e5eb5c5..db2172b2e57 100644 --- a/src/test/compile-fail/mutable-enum.rs +++ b/src/test/compile-fail/mutable-enum.rs @@ -11,9 +11,9 @@ #[mutable] enum Foo { A } -fn bar<T: Const>(_: T) {} +fn bar<T: Freeze>(_: T) {} fn main() { let x = A; - bar(x); //~ ERROR instantiating a type parameter with an incompatible type `Foo`, which does not fulfill `Const` + bar(x); //~ ERROR instantiating a type parameter with an incompatible type `Foo`, which does not fulfill `Freeze` } | 
