rust-analyzer/crates/hir_ty/src
bors[bot] 9eb6cbb80b
Merge #6307
6307: Add whitelist of safe intrinsics r=frazar a=frazar

This PR should fix #5996, where intrinsic operations where all marked as unsafe.

I'm rather new to this codebase, so I might be doing something *very* wrong. Please forgive me!

In particular, I'm not sure how to "check that we are in extern `rust-intrinsics`" as mentioned [in this comment](https://github.com/rust-analyzer/rust-analyzer/issues/5996#issuecomment-709234802). 

Co-authored-by: Francesco Zardi <frazar@users.noreply.github.com>
2020-10-21 20:09:11 +00:00
..
diagnostics Move safe intrinsic tests 2020-10-21 21:53:05 +02:00
infer binary operator overload type inference: add test mark 2020-10-14 19:00:04 +02:00
tests binary operator overload type inference: add test mark 2020-10-14 19:00:04 +02:00
traits Make unimplemented match variants explicit 2020-10-06 23:56:31 -07:00
autoderef.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
db.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
diagnostics.rs Add descriptions for diagnostics parseable by xtask 2020-10-19 20:55:16 +03:00
display.rs Fix trait object hir formatting behind pointer and references 2020-10-06 14:40:27 +02:00
infer.rs Implement binary operator overloading type inference 2020-10-13 20:48:08 +02:00
lib.rs Update chalk to 0.27 and adapt to chalk changes. 2020-09-15 22:37:05 +08:00
lower.rs Use Ty::apply instead of simple and fix method resolution. 2020-09-17 00:58:41 +08:00
method_resolution.rs Use Ty::apply instead of simple and fix method resolution. 2020-09-17 00:58:41 +08:00
op.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
primitive.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
test_db.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
tests.rs Switch to expect_test from crates.io 2020-08-21 13:19:31 +02:00
traits.rs Chalk 0.23 2020-08-16 12:15:44 -04:00
utils.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00