Skip to content

~[T] has been removed from rust-master, causing a build failure #18

@zzmp

Description

@zzmp

This is the error for reference:

rustc -O --cfg ndebug  --dep-info build/openssl.d --out-dir build lib.rs
crypto/symm.rs:174:41: 174:42 error: obsolete syntax: `~[T]` is no longer a type
crypto/symm.rs:174 pub fn encrypt(t: Type, key: &[u8], iv: ~[u8], data: &[u8]) -> Vec<u8> {
                                                           ^
note: use the `Vec` type instead
crypto/symm.rs:186:41: 186:42 error: obsolete syntax: `~[T]` is no longer a type
crypto/symm.rs:186 pub fn decrypt(t: Type, key: &[u8], iv: ~[u8], data: &[u8]) -> Vec<u8> {
                                                           ^
error: aborting due to 2 previous errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions