about summary refs log tree commit diff
path: root/src/test/compile-fail/non-const.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/non-const.rs')
-rw-r--r--src/test/compile-fail/non-const.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/non-const.rs b/src/test/compile-fail/non-const.rs
index 37ba5830b10..d2cf08fc847 100644
--- a/src/test/compile-fail/non-const.rs
+++ b/src/test/compile-fail/non-const.rs
@@ -1,6 +1,6 @@
 // Test that various non const things are rejected.
 
-fn foo<T: const>(_x: T) { }
+fn foo<T: Const>(_x: T) { }
 
 struct r {
   x:int,