Skip to content

the trait core::marker::Sized is not implemented for the type Self #4

Description

@ipconfiger

rust version: Nightly (1.8)
OS: OSX 10.11.3 (15D21)

/Users/liming/.cargo/registry/src/github.com-88ac128001ac3a9a/codegenta-0.0.8/src/table_json.rs:17:2: 17:49 error: the trait core::marker::Sized is not implemented for the type Self [E0277]
/Users/liming/.cargo/registry/src/github.com-88ac128001ac3a9a/codegenta-0.0.8/src/table_json.rs:17 fn from_str(s: &str)->Result<Self, ParseError>;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/liming/.cargo/registry/src/github.com-88ac128001ac3a9a/codegenta-0.0.8/src/table_json.rs:17:2: 17:49 help: run rustc --explain E0277 to see a detailed explanation
/Users/liming/.cargo/registry/src/github.com-88ac128001ac3a9a/codegenta-0.0.8/src/table_json.rs:17:2: 17:49 note: Self does not have a constant size known at compile-time
/Users/liming/.cargo/registry/src/github.com-88ac128001ac3a9a/codegenta-0.0.8/src/table_json.rs:17:2: 17:49 note: required by core::result::Result
error: aborting due to previous error
Could not compile codegenta.

To learn more, run the command again with --verbose.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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