Skip to content

Does not compile with the latest Rust #5

Closed
@frewsxcv

Description

@frewsxcv
/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     }

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions