Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile with the latest Rust #5

Closed
frewsxcv opened this issue Apr 3, 2015 · 3 comments · Fixed by #6
Closed

Does not compile with the latest Rust #5

frewsxcv opened this issue Apr 3, 2015 · 3 comments · Fixed by #6
Assignees

Comments

@frewsxcv
Copy link

frewsxcv commented Apr 3, 2015

/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:126:1: 130:2 error: the impl does not reference any types defined in this crate; only traits defined in the current crate can be implemented for arbitrary types [E0117]
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:126 impl fmt::Display for Vec<Ascii> {
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:127     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:128         fmt::Display::fmt(&self[..], f)
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:129     }
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:130 }
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:132:1: 136:2 error: the impl does not reference any types defined in this crate; only traits defined in the current crate can be implemented for arbitrary types [E0117]
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:132 impl fmt::Display for [Ascii] {
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:133     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:134         fmt::Display::fmt(self.as_str(), f)
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:135     }
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:136 }
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:188:1: 224:2 error: the impl does not reference any types defined in this crate; only traits defined in the current crate can be implemented for arbitrary types [E0117]
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:188 impl AsciiExt for [Ascii] {
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:189     type Owned = Vec<Ascii>;
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:190
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:191     #[inline]
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:192     fn is_ascii(&self) -> bool {
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:193         true
                                                                                     ...
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:226:1: 238:2 error: the impl does not reference any types defined in this crate; only traits defined in the current crate can be implemented for arbitrary types [E0117]
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:226 impl OwnedAsciiExt for Vec<Ascii> {
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:227     #[inline]
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:228     fn into_ascii_uppercase(mut self) -> Vec<Ascii> {
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:229         self.make_ascii_uppercase();
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:230         self
/Users/coreyf/.cargo/git/checkouts/rust-ascii-d57360998fa8e9eb/master/src/lib.rs:231     }
@SimonSapin
Copy link
Collaborator

Indeed, but I’m not very interested in maintaining this library. If you are, I’ll give you push/publish access.

@tomprogrammer
Copy link
Owner

I have a rather big update in queue, will push this today.

@tomprogrammer
Copy link
Owner

Builds on nightly, not yet on beta 1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants