Skip to content
New issue

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

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

Already on GitHub? # to your account

Check for #[repr(i*)]/#[repr(u*)] semver violations. #29

Merged
merged 6 commits into from
Aug 1, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into repr_int_queries
  • Loading branch information
obi1kenobi committed Aug 1, 2022
commit 116d4e6640a4b4becd91ed058b3b73a54bbf39a7
56 changes: 0 additions & 56 deletions src/rustdoc_schema.graphql
Original file line number Diff line number Diff line change
@@ -508,59 +508,3 @@ type OtherType implements RawType {
"""
name: String!
}

"""
A type represented in the "raw" rustdoc JSON representation.

Copiously detailed, but not the easiest to use due to its complexity.

https://docs.rs/rustdoc-types/latest/rustdoc_types/enum.Type.html
"""
interface RawType {
name: String!
}

"""
Represents a struct, enum, or trait.

https://docs.rs/rustdoc-types/latest/rustdoc_types/enum.Type.html#variant.ResolvedPath
"""
type ResolvedPathType implements RawType {
"""
The fully-qualified canonical name of the type.

For example: "core::marker::PhantomData" or "std::marker::PhantomData"
"""
name: String!
}

"""
Represents a primitive type:
fixed-size numeric types (plus int/usize/float), char, arrays, slices, and tuples.

https://docs.rs/rustdoc-types/latest/rustdoc_types/enum.Type.html#variant.Primitive
"""
type PrimitiveType implements RawType {
"""
The name of the primitive type.

For example: "usize"
"""
name: String!
}

"""
Any other type that isn't currently captured by another kind of RawType.

This type is a hack, so I can get useful queries running before implementing
the entire spectrum of possible types.

No query should write "... on OtherType" because there's nothing you can do with it.
It will eventually be removed without a major version bump.
"""
type OtherType implements RawType {
"""
As best we can define the name of this type.
"""
name: String!
}
You are viewing a condensed version of this merge commit. You can view the full changes here.