File: no-debug.rs

package info (click to toggle)
rust-similar-asserts 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 212 kB
  • sloc: makefile: 24
file content (11 lines) | stat: -rw-r--r-- 212 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
struct TypeWithoutDebug;

impl PartialEq for TypeWithoutDebug {
    fn eq(&self, _other: &Self) -> bool {
        false
    }
}

fn main() {
    similar_asserts::assert_eq!(TypeWithoutDebug, TypeWithoutDebug);
}