forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include static methods on traits in reexports.
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9042e1e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thanks! The test would have to be a cross-crate test. You can use the code example that's in rust-lang#4202, but making cross-crate tests work in the test runner is a bit awkward. Look at
rust/src/test/run-pass/anon-extern-mod-cross-crate-2.rs
for an example. Theaux-build
directive in the comment refers to a file contained inrust/src/test/auxiliary
. Ask if you have any questions about that.Thanks for diving into such a dark corner of the compiler for your first bug!