Skip to content

Instantly share code, notes, and snippets.

View Eijebong's full-sized avatar
🥖

Bastien Orivel Eijebong

🥖
View GitHub Profile
/// Foo
/// Bar
pub fn t1() {}
#[doc="/// Foo\n/// Bar"]
pub fn t2() {}
This file has been truncated, but you can view the full file.
= help: consider adding a `#![recursion_limit="2048"]` attribute to your crate
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&[_]`
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&[[_]]`
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&[[[_]]]`
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&[[[[_]]]]`
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&[[[[[_]]]]]`
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for
error[E0275]: overflow evaluating the requirement `syn::Ident: std::marker::Sync`
--> core/src/options/input_field.rs:7:1
|
7 | / lazy_static! {
8 | | /// The default path for extracting data from a meta item. This can be overridden
9 | | /// using the `with` attribute.
10 | | static ref FROM_META_ITEM: syn::Path = {
11 | | path!(::darling::FromMetaItem::from_meta_item)
12 | | };
13 | | }
[local] eijebong@test_bug=# CREATE DOMAIN sql_identifier AS character varying;
CREATE DOMAIN
[local] eijebong@test_bug=# CREATE TABLE foo(a sql_identifier, b character varying not null);
CREATE TABLE
[local] eijebong@test_bug=# INSERT INTO foo(a, b) VALUES(NULL, NULL);
ERROR: 23502: null value in column "b" violates not-null constraint
DETAIL: Failing row contains (null, null).
SCHEMA NAME: public
TABLE NAME: foo
COLUMN NAME: b
= help: consider adding a `#![recursion_limit="128"]` attribute to your crate
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&(_, _, _, _, _)`
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&((_, _, _, _, _), _, _, _, _)`
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&(((_, _, _, _, _), _, _, _, _), _, _, _, _)`
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&((((_, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)`
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<users::table>` for `&(((((_, _, _, _, _), _, _, _, _), _, _, _,
= help: consider adding a `#![recursion_limit="128"]` attribute to your crate
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<schema::__diesel_infer_schema::infer_users::users::table>` for `&[_]`
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<schema::__diesel_infer_schema::infer_users::users::table>` for `&[[_]]`
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<schema::__diesel_infer_schema::infer_users::users::table>` for `&[[[_]]]`
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<schema::__diesel_infer_schema::infer_users::users::table>` for `&[[[[_]]]]`
= note: required because of the requirements on the impl of `diesel::query_builder::insert_statement::UndecoratedInsertRecord<schema