File: function-body.rs

package info (click to toggle)
rust-ghost 0.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 216 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 148 bytes parent folder | download
1
2
3
4
5
6
7
8
use ghost::phantom;

fn main() {
    // Not supported. https://github.com/dtolnay/ghost/issues/1

    #[phantom]
    struct MyPhantom<T: ?Sized>;
}