This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
24afa42a90
rust
/
tests
/
rustdoc
/
auxiliary
/
rustdoc-impl-parts-crosscrate.rs
4 lines
56 B
Rust
Raw
Normal View
History
Unescape
Escape
Rename `optin_builtin_traits` to `auto_traits` They were originally called "opt-in, built-in traits" (OIBITs), but people realized that the name was too confusing and a mouthful, and so they were renamed to just "auto traits". The feature flag's name wasn't updated, though, so that's what this PR does. There are some other spots in the compiler that still refer to OIBITs, but I don't think changing those now is worth it since they are internal and not particularly relevant to this PR. Also see <https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/opt-in.2C.20built-in.20traits.20(auto.20traits).20feature.20name>.
2020-11-22 19:54:31 -08:00
#![
feature(auto_traits)
]
move auxiliary builds to a test-relative `aux` Instead of finding aux-build files in `auxiliary`, we now search for an `aux` directory relative to the test. So if your test is `compile-fail/foo.rs`, we would look in `compile-fail/aux`. Similarly, we ignore the `aux` directory when searching for tets.
2016-04-26 10:51:14 -07:00
Use the name "auto traits" everywhere in the compiler Goodbye, OIBIT!
2020-11-24 15:44:04 -08:00
pub
auto
trait
AnAutoTrait
{
}
Copy permalink