mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
82c2c8deb1
Several (doc) comments were super outdated or didn't provide enough context. Some doc comments shoved everything in a single paragraph without respecting the fact that the first paragraph should be a single sentence because rustdoc treats these as item descriptions / synopses on module pages.
10 lines
206 B
Rust
10 lines
206 B
Rust
//@ run-pass
|
|
// Test that HIR ty lowering doesn't forget about mutability of `&mut str`.
|
|
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
fn main() {
|
|
fn foo<T: ?Sized>(_: &mut T) {}
|
|
let _f: fn(&mut str) = foo;
|
|
}
|