mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
9 lines
193 B
Rust
9 lines
193 B
Rust
// run-pass
|
|
// Test that astconv 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;
|
|
}
|