diff options
Diffstat (limited to 'src/test/run-fail/bug-811.rs')
| -rw-r--r-- | src/test/run-fail/bug-811.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-fail/bug-811.rs b/src/test/run-fail/bug-811.rs index e376085772b..a6575143765 100644 --- a/src/test/run-fail/bug-811.rs +++ b/src/test/run-fail/bug-811.rs @@ -4,8 +4,8 @@ fn test00_start(ch: chan_t<int>, message: int) { send(ch, message); } type task_id = int; type port_id = int; -enum chan_t<T: send> = {task: task_id, port: port_id}; +enum chan_t<T: Send> = {task: task_id, port: port_id}; -fn send<T: send>(ch: chan_t<T>, data: T) { fail; } +fn send<T: Send>(ch: chan_t<T>, data: T) { fail; } fn main() { fail ~"quux"; } |
