about summary refs log tree commit diff
path: root/src/test/ui/const-generics/fn-const-param-call.rs
diff options
context:
space:
mode:
authorben <benlewisj@gmail.com>2019-10-02 20:29:16 +1300
committerben <benlewisj@gmail.com>2019-10-09 05:10:00 +1300
commita59eb6d55483e68f790c048efcfc8cdec26db32c (patch)
tree3237289c439a632275c4130a258aff70168173a8 /src/test/ui/const-generics/fn-const-param-call.rs
parent2afd277bc3ad53ddb6064b7f2a739583e8b4820a (diff)
downloadrust-a59eb6d55483e68f790c048efcfc8cdec26db32c.tar.gz
rust-a59eb6d55483e68f790c048efcfc8cdec26db32c.zip
Pretty print function pointer const values.
Diffstat (limited to 'src/test/ui/const-generics/fn-const-param-call.rs')
-rw-r--r--src/test/ui/const-generics/fn-const-param-call.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/const-generics/fn-const-param-call.rs b/src/test/ui/const-generics/fn-const-param-call.rs
index 9f64d4bd086..1fb57897e28 100644
--- a/src/test/ui/const-generics/fn-const-param-call.rs
+++ b/src/test/ui/const-generics/fn-const-param-call.rs
@@ -17,4 +17,4 @@ impl<const F: fn() -> u32> Wrapper<{F}> {
 
 fn main() {
     assert_eq!(Wrapper::<{function}>::call(), 17);
-}
\ No newline at end of file
+}