This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
0fd3be948a
rust
/
tests
/
rustdoc
/
auxiliary
/
auto-traits.rs
4 lines
55 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 21:54:31 -06:00
#![
feature(auto_traits)
]
rustdoc: Show when traits are auto traits
2018-01-22 19:04:24 -06:00
pub
unsafe
auto
trait
Bar
{
}
Reference in New Issue
Copy Permalink