2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2014-10-28 02:03:02 -05:00
|
|
|
// Test that astconv doesn't forget about mutability of &mut str
|
|
|
|
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2014-10-28 02:03:02 -05:00
|
|
|
fn main() {
|
2014-12-24 01:05:30 -06:00
|
|
|
fn foo<T: ?Sized>(_: &mut T) {}
|
2014-10-28 02:03:02 -05:00
|
|
|
let _f: fn(&mut str) = foo;
|
|
|
|
}
|