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

Compile Error: private type in exported type parameter bound #33

Closed
globin opened this issue Sep 27, 2014 · 2 comments
Closed

Compile Error: private type in exported type parameter bound #33

globin opened this issue Sep 27, 2014 · 2 comments

Comments

@globin
Copy link

globin commented Sep 27, 2014

Compiling url v0.1.0 (https://github.com/servo/rust-url#275c4a8e)
/home/robin/.cargo/git/checkouts/rust-url-1e22af4233079a1e/master/src/lib.rs:474:27: 474:28 error: private type in exported type parameter bound
/home/robin/.cargo/git/checkouts/rust-url-1e22af4233079a1e/master/src/lib.rs:474     pub fn from_file_path<T: ToUrlPath>(path: &T) -> Result<Url, ()> {
                                                                                                           ^
/home/robin/.cargo/git/checkouts/rust-url-1e22af4233079a1e/master/src/lib.rs:496:32: 496:33 error: private type in exported type parameter bound
/home/robin/.cargo/git/checkouts/rust-url-1e22af4233079a1e/master/src/lib.rs:496     pub fn from_directory_path<T: ToUrlPath>(path: &T) -> Result<Url, ()> {
                                                                                                                ^
/home/robin/.cargo/git/checkouts/rust-url-1e22af4233079a1e/master/src/lib.rs:541:25: 541:26 error: private type in exported type parameter bound
/home/robin/.cargo/git/checkouts/rust-url-1e22af4233079a1e/master/src/lib.rs:541     pub fn to_file_path<T: FromUrlPath>(&self) -> Result<T, ()> {
                                                                                                         ^
/home/robin/.cargo/git/checkouts/rust-url-1e22af4233079a1e/master/src/lib.rs:836:25: 836:26 error: private type in exported type parameter bound
/home/robin/.cargo/git/checkouts/rust-url-1e22af4233079a1e/master/src/lib.rs:836     pub fn to_file_path<T: FromUrlPath>(&self) -> Result<T, ()> {
@SimonSapin
Copy link
Member

That should be fixed in 29f70a47230c2aa736e263977247c786e0b2c243, probably need to run cargo update url.

@globin
Copy link
Author

globin commented Sep 27, 2014

Whoops sorry 😁

@globin globin closed this as completed Sep 27, 2014
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

No branches or pull requests

2 participants